Public bug reported:

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?

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580984

Title:
  procps postinst fails when inside lxd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1580984/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to