[Bug 820715] Re: sudo poweroff -n within a container just hangs

Serge Hallyn 820715 at bugs.launchpad.net
Wed Nov 9 02:53:56 UTC 2011


Quoting xlyz (820715 at bugs.launchpad.net):
> @serge: udev and coreutils are already installed in default lucid container.

Of course, but they fail to upgrade because they expect mknod.   As I was
saying, and as the blog you reference shows, you can let the upgrade succeed
by adding mknod to the devices access whitelist.

> if I add updates repo and just install openshh-server everything is
> fine.

Ok, good.

> if  I try to full-upgrade, or just try to install udev from lucid-
> updates it throw
> 
> Setting up udev (151-12.3) ...
> mknod: `/lib/udev/devices/ppp': Operation not permitted

yes.

> dpkg: error processing udev (--configure):
>  subprocess installed post-installation script returned error exit status 1
> 
> the other two packages have just udev as dependency.

yes.

As I say it should be possible to update the lxc-ubuntu template to
create 'lucid-updates' (etc) caches and containers, so that you don't
have to mess with this at all.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/820715

Title:
  sudo poweroff -n within a container just hangs

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



More information about the Ubuntu-server-bugs mailing list