[Lxc-users] Problems after udev upgrade.

Serge E. Hallyn serge.hallyn at canonical.com
Mon Sep 27 12:57:41 UTC 2010


Quoting John Lewis (jlewis at johnlewis.ie):
> Hi All,
> 
> I created a new container the other week using the template script 
> bundled with the latest stable version of LXC. I figured it would 
> probably be ok to do that even though I only have the userspace tools 
> that come with Ubuntu 10.04 (0.6.5 or there abouts).
> 
> I couldn't understand why nothing was getting upgraded after a week or 
> two when running apt-get update and found that the updates repository 
> wasn't enabled in sources.list. I duly enabled same and the next apt-get 
> upgrade installed new versions of udev, mountall, etc. and of course 
> failed configuring udev. I got around that issue by using 
> http://www.emanuelis.eu/2010/09/15/mknod-lib-udev-devices-ppp-operation-not-permitted-when-updating-ubuntu-10-04-on-virtual-lxc-machine/ 
> but did not come to reboot the container till last night.

While it'll likely cause problems at some point, I think the lxc-ubuntu
template should pin the versions of those packages.  There's probably
a more maintainable way of handling this - like either having our own
post-upgrade hooks which undo badness from those packages, or just
keep a set of lxc package archives.

> After reboot I get "lxc-console: console denied by 'server'" when trying 
> to get console access. I also got a pty error trying to SSH in which was 
> fixed by copying an older /etc/init from backup.
> 
> The main problem I have now is that init isn't booting the runlevel 
> properly and I have to type "telinit 2" from inside the container to get 
> all the services come up. Can anyone help me please?

Search the archives for udev, someone had this problem before and
documented the fix.

-serge




More information about the lxc-users mailing list