On 27/09/10 13:57, Serge E. Hallyn wrote: > Quoting John Lewis (jle...@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
And FYI: echo udev hold | dpkg --set-selections as per http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg00670.html wouldn't hold udev back for me I used Emanuelis' method from http://www.emanuelis.eu/2010/09/15/mknod-lib-udev-devices-ppp-operation-not-permitted-when-updating-ubuntu-10-04-on-virtual-lxc-machine/ to get around the udev upgrade problem. John. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users