[Bug 1734409] Re: systemd-sysctl: exit gracefully on EPERM/EACCESS
Launchpad Bug Tracker
1734409 at bugs.launchpad.net
Wed Mar 21 11:53:33 UTC 2018
This bug was fixed in the package systemd - 229-4ubuntu21.2
---------------
systemd (229-4ubuntu21.2) xenial; urgency=medium
[ Dimitri John Ledkov ]
* udev: Mark ndb devices as inactive until connected. (LP: #696435)
* networkd: in dhcp, change UseMTU default to true, to accept DHCP provided MTU by default.
(LP: #1717471)
* sysctl: apply parameters in-order, instead of randomly. (LP: #1718444)
* networkd: apply promote_secondaries, to make DHCP lease changes work.
(LP: #1721223)
* shutdown: sync filesystems, before going into a killing spree.
(LP: #1722481)
* sysctl: do not fail, when cannot apply sysctl changes due to read-only sysfs in containers.
(LP: #1734409)
* networkd,wait-online: add RequiredForOnline to mark mandatory/optional links for boot.
(LP: #1737570)
[ David Glasser ]
* journald: don't reduce BurstRateLimit on low disk space (LP: #1732803)
-- Dimitri John Ledkov <xnox at ubuntu.com> Wed, 21 Feb 2018 13:46:37
+0000
** Changed in: systemd (Ubuntu Xenial)
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/1734409
Title:
systemd-sysctl: exit gracefully on EPERM/EACCESS
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Xenial:
Fix Released
Bug description:
[Impact]
* systemd-sysctl service fails in containers, due to read-only sysfs,
which is normal.
[Test Case]
* Ensure systemd-sysctl is successful in containers, e.g. lxc & lxd
[Regression Potential]
* The application of sysctls fails anyway, but at least in this case
false-errors are not reported and the container doesn't enter
"degraded" state without a good reason.
[Other Info]
* Original bug report
Hi everyone,
systemd-sysctl in systemd versions prior to 232 will exit with FAILED
when not being able to apply kernel variables. In containers it should
simply move on and exit with SUCCESS. Upstream systemd carries
appropriate patches for this already. The relevant commits are:
411e869f497c7c7bd0688f1e3500f9043bc56e48
39540de8abe24886693ca29a9caeea85c88089aa
these should be backported to xenial's systemd.
Christian
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1734409/+subscriptions
More information about the foundations-bugs
mailing list