[Bug 1962038] Re: wrong sysrq value in /usr/lib/sysctl.d/50-default.conf
Brian Murray
1962038 at bugs.launchpad.net
Fri Apr 1 21:38:31 UTC 2022
Hello Steve, or anyone else affected,
Accepted systemd into impish-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/248.3-1ubuntu8.5 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
impish to verification-done-impish. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-impish. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Tags removed: verification-done-impish
** Tags added: verification-needed-impish
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1962038
Title:
wrong sysrq value in /usr/lib/sysctl.d/50-default.conf
Status in procps package in Ubuntu:
Fix Released
Status in systemd package in Ubuntu:
Fix Released
Status in procps source package in Impish:
Won't Fix
Status in systemd source package in Impish:
Fix Committed
Status in procps source package in Jammy:
Fix Released
Status in systemd source package in Jammy:
Fix Released
Bug description:
[Impact]
I've just learned that systemd is setting kernel.sysrq to 16 in
/usr/lib/sysctl.d/50-default.conf. This is inconsistent with
/etc/sysctl.d/10-magic-sysrq.conf which intentionally sets it to 176
by default. systemd should drop its setting to defer to the file that
we have been carrying in procps for a very long time.
Therefore, users can only sync their storage but not do any other
actions using the magic sysrq key.
[Test Plan]
$ sysctl kernel.sysrq
=> This should show "kernel.sysrq = 176" as set by /etc/sysctl.d/10-magic-sysrq.conf
$ sysctl net.ipv4.conf.all.rp_filter
=> This should show "net.ipv4.conf.all.rp_filter=2" as set by /etc/sysctl.d/10-network-security.conf
[Where problems could occur]
* This patch changes systemd's sysctl configuration in /lib/sysctl.d/*.conf
* If something is broken it could fail to apply any of systemd's sysctl configuration, but Ubuntu's defaults from /etc/sysctl.d/*.conf would still be in place.
[Other Info]
* None
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1962038/+subscriptions
More information about the foundations-bugs
mailing list