systemd-sysctl crashes when there's a comment at the end of a line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I have this line in /etc/sysrq.
kernel.sysrq = 1 #176
This has worked in Ubuntu 14.04.
Although there are errors and warnings, the setting seems to be applied on boot.
niklas@
● systemd-
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Di 2016-12-27 18:31:50 CET; 16h ago
Docs: man:systemd-
Process: 770 ExecStart=
Main PID: 770 (code=exited, status=1/FAILURE)
Dez 27 18:31:50 panzersperre systemd[1]: Starting Apply Kernel Variables...
Dez 27 18:31:50 panzersperre systemd[1]: systemd-
Dez 27 18:31:50 panzersperre systemd[1]: Failed to start Apply Kernel Variables.
Dez 27 18:31:50 panzersperre systemd[1]: systemd-
Dez 27 18:31:50 panzersperre systemd[1]: systemd-
niklas@
Couldn't write '1 #176' to 'kernel/sysrq', ignoring: Invalid argument
niklas@
kernel.sysrq = 1
niklas@
Description: Ubuntu 16.04.1 LTS
Release: 16.04
niklas@
systemd:
Installed: 229-4ubuntu13
Candidate: 229-4ubuntu13
Version table:
*** 229-4ubuntu13 500
500 http://
100 /var/lib/
229-4ubuntu10 500
500 http://
229-4ubuntu4 500
500 http://
niklas@
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
Changed in systemd (Ubuntu): | |
status: | New → Won't Fix |
This seems to be fixed in systemd 231. (Tested with a recent version of Fedora.)