[Bug 1962038] Re: wrong sysrq value in /usr/lib/sysctl.d/50-default.conf
Launchpad Bug Tracker
1962038 at bugs.launchpad.net
Wed Apr 13 22:51:09 UTC 2022
This bug was fixed in the package systemd - 248.3-1ubuntu8.5
---------------
systemd (248.3-1ubuntu8.5) impish; urgency=medium
* debian/tests/boot-and-services: Ignore failed snap mount units in
test_no_failed (LP: #1967576)
systemd (248.3-1ubuntu8.4) impish; urgency=medium
[ Lukas Märdian ]
* Fix deadlock between pid1 and dbus-daemon (LP: #1871538)
Author: Lukas Märdian
File: debian/patches/pid1-set-SYSTEMD_NSS_DYNAMIC_BYPASS-1-env-var-for-dbus-da.patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=f79535077473902bad911dc2652a2fff4066fa30
* Don't override Ubuntu's default sysctl values (LP: #1962038)
Author: Lukas Märdian
File: debian/patches/debian/UBUNTU-Don-t-override-Ubuntu-s-default-sysctl-values-LP-1962038.patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=3ba2764d8f77e616461c9722923f685fad79f8c6
systemd (248.3-1ubuntu8.3) impish; urgency=medium
[ Jeremy Szu ]
* Add a allowlist to unblock intel-hid on new HP machines (LP: #1955997)
Author: Jeremy Szu
File: debian/patches/lp1955997-add-a-allowlist-to-unblock-intel-hid-on-HP-mach.patch
https://git.launchpad.net/~ubuntu-core-dev/ubuntu/+source/systemd/commit/?id=554d46e6a6ab80befd424ead7ffa8e6f993b5f66
-- Nick Rosbrook <nick.rosbrook at canonical.com> Fri, 01 Apr 2022
16:39:25 -0400
** Changed in: systemd (Ubuntu Impish)
Status: Fix Committed => Fix Released
--
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 Released
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