[Lxc-users] Upgrade distribution

Stéphane Graber stgraber at ubuntu.com
Thu Mar 8 17:45:34 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 03/08/2012 02:27 AM, Papp Tamas wrote:
> On 03/07/2012 07:18 PM, Stéphane Graber wrote:
>> It's "possible" but I wouldn't recommend it until 12.04.
>> 
>> In my experience upgrading will at least require you to umount 
>> /lib/init/fstab and tty[1234] and console in /dev, otherwise
>> udev, mountall and a few others will fail to upgrade.
> 
> I tried it multiple time, lucid -> ... -> oneiric was almost OK,
> but of course I made some fixes by hand.
> 
>> We fixed all this in 12.04 so that a 12.04 to 12.10 upgrade will
>> work just fine, sadly these required substantial changes to
>> upstart, mountall, udev and lxc itself that are too risky to
>> backport to older releases.
> 
> Actually udev update is still not working with 12.04 when new
> package arrives.
> 
> 
> tamas

That's most likely because you're not using a "clean" template and so
are missing a bit from your container config:
lxc.devttydir = lxc


With this one, all the console files will be in /dev/lxc/* and so udev
upgrade will work fine, well, we've seen a few bugs with apparmor
blocking the udev upgrade but apparmor is currently off and the new
apparmor will fix that.
If you're hit by the apparmor issue, running the upgrade a second time
works fine.

- -- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCgAGBQJPWPA+AAoJEMY4l01keS1nzocQANF0QvNoCUQ3m5ubhZpzwDyD
AU6ggaQDUoH/2XZWcUhy7J4Eck3CIAw4zUk+dKoIpK4SrF5YLw/Ale70DBfYYIxm
9g2ITAjEndZMVcLXo/ESz2nIoOW1lOw1e+qxAIw10EvvW6yH7GnQAMC6Lh82Jv+m
f6SAVNb8cdSQTi3UuuvlPG17xK9JfVbkKlFeU9l4ON9xLqIs2L27YkUtNeZtnCYa
VceMEoasE8mN4GQf3ryc4weg4nSgAqR7BywFkGSn18VLP1TfnpyisBb0TZxhiVAt
1RVesJx4QgynHtFg0Mw7cd2hhvhWYsyr6UqEhrNM26wf9E5CUiN83yg9FJ1rB7WG
l5Glb+v/3u+fn5JyME7iczFSviuyA0t5k0G6raP9S4JlNc1B0vyQn+NvGHnvvkSN
IVoRaDxwriRlxJtfMsE2Yp/iAoayAZqTahMoQOTAMZ0fdQGCSr/PrUCNkX/R8wC4
flVZNIgG698yiV4HmE7Mx5Awzay4cJ412Ivni9CpMTl31dccnyBbRkS6GVnT2mVU
DcFel44uBugwV9+kU46pRdB6tc37HodyI0K4/1PU+a+VP2LTvtidek3LZWynH4sl
xFV8QtaOK6nPtt1XAu61qNxYdRDe+fzQGIko5BCrVseMVj79xsD7mTCgNPKBSzVZ
3GpGro/X+bYklQ8Lt9T0
=re56
-----END PGP SIGNATURE-----




More information about the lxc-users mailing list