[Bug 1580984] Re: procps postinst fails when inside lxd
Serge Hallyn
1580984 at bugs.launchpad.net
Tue May 17 21:28:07 UTC 2016
procps has a patch to sysctl.c to ignore EACCESS. I guess systemd's
systemd-sysctl needs the same kind of patch.
** Also affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Changed in: lxd (Ubuntu)
Status: Confirmed => Invalid
** Changed in: systemd (Ubuntu)
Status: New => Confirmed
** Changed in: systemd (Ubuntu)
Importance: Undecided => Medium
--
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/1580984
Title:
procps postinst fails when inside lxd
Status in lxd package in Ubuntu:
Invalid
Status in systemd package in Ubuntu:
Confirmed
Bug description:
lxc launch ubuntu:xenial test
lxc exec test bash
systemctl status systemd-sysctl.service # note that this is failed
dpkg-reconfigure procps # this attempts to start the service and fails with exit status 1
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Job for systemd-sysctl.service failed because the control process exited with error code. See "systemctl status systemd-sysctl.service" and "journalctl -xe" for details.
invoke-rc.d: initscript procps, action "start" failed.
This causes a dist-upgrade from wily inside a container to fail.
Workaround: "systemctl mask systemd-sysctl.service" before doing
anything.
I see that /lib/systemd/system/systemd-sysctl.service already defines
"ConditionPathIsReadWrite=/proc/sys/". If this is expected to work,
presumably it isn't?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1580984/+subscriptions
More information about the foundations-bugs
mailing list