← Back to team overview

touch-packages team mailing list archive

[Bug 1419554] Re: Can't upgrade procps in LXC 1.1

 

The following shell script seems to allow the installatoin to continue:

sudo dpkg-divert --add --rename --local --divert /sbin/sysctl.real /sbin/sysctl
cat << 'EOF' | sudo tee /sbin/sysctl
#!/bin/bash
/sbin/sysctl.real "$@"
echo "Warning: /sbin/sysctl exit code is being suppressed in this container"
exit 0
EOF
sudo chmod a+x /sbin/sysctl

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1419554

Title:
  Can't upgrade procps in LXC 1.1

Status in lxc package in Ubuntu:
  Confirmed

Bug description:
  LXC 1.1 on vivid has started giving privileged containers a read-only
  /sys, which prevents Ubuntu's procps Upstart job from starting. This
  isn't normally too problematic, except that the weekend's procps SRU's
  postinst tries to start the job and causes the upgrade to fail.

  Disabling the procps postinst makes apt usable again.

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


References