-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
pid1regression ⚠️A bug in something that used to work correctly and broke through some recent commitA bug in something that used to work correctly and broke through some recent commit
Milestone
Description
Submission type
- Bug report
- Request for enhancement (RFE)
NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!
systemd version the issue has been seen with
231
NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!
Used distribution
debian testing
In case of bug report: Unexpected behaviour you saw
When receiving a particularly large error message, systemd[1] crashes in xsprintf, leaving the system in a state that even rebooting cleanly is impossible.
In case of bug report: Steps to reproduce the problem
call systemd-run with a command that will generate a particularly large error message, in my particulary case saltstack calls systemd-run with apt-get to install packages, one of those packages doesn't exist and apt returns an error message longer than MAX_LINE.
Journal
This is the message in journald.
Nov 01 15:37:37 computer systemd[1]: Assertion 'xsprintf: buf[] must be big enough' failed at ../src/core/job.c:771, function job_log_status_message(). Aborting.
Nov 01 15:37:37 computer systemd[1]: Caught <ABRT>, dumped core as pid 3316.
Nov 01 15:37:37 computer systemd[1]: Freezing execution.
Nov 01 15:37:37 computer salt-minion[619]: [ERROR ] Command '['systemd-run', '--scope', 'apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'insta [truncated]
Nov 01 15:37:37 computer salt-minion[619]: :i386', 'sudo', 'openjdk-8-jre', 'libwayland-egl1-mesa', 'libgcrypt20:i386', 'libxcb-dri2-0-dev:i386', 'libxcb-dri3-dev', 'libegl1-mesa', 'libxcb-glx0-dev', ' [truncated]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pid1regression ⚠️A bug in something that used to work correctly and broke through some recent commitA bug in something that used to work correctly and broke through some recent commit