[Lxc-users] Upgrade distribution

Stéphane Graber stgraber at ubuntu.com
Wed Mar 7 18:18:58 UTC 2012


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

On 03/07/2012 04:20 AM, Miroslav Lednicky wrote:
> Hello,
> 
> i have question about LXC in Ubuntu.
> 
> Is it possible to do upgrade system inside LXC?
> 
> From 10.04 to 12.04 for example.
> 
> Did somebody try it?
> 
> Best regards,
> 
> Miroslav.
> 

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.

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.

- -- 
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/

iQIcBAEBCgAGBQJPV6aSAAoJEMY4l01keS1nDZgP/2Ztg1h82JdAAkBuA6kuCknX
T7vhPsL5TV5RxCsGmhpUhr/06vqrbLOggfidwGJIOnReQ7eclFe9Tq0dfUE8fDEy
ick6e11Zq6HpBkrAdC1IYNxXkTdCS7ogAIo6Rw9jzHw8vcvIsT1YIwkWHxAlqGoo
GQS45mIwgoGHoEwSWCE5xgJVsoxwZ0zRhjAniOeZYr1ZMGQMQPff08XpQq4pxSZL
mMOcUBhRyWo3yIWuZ9dfCfegoLMQmncjkCmpyOhhkxC69/QZKlOsiKHniOyHRhWh
86GxrjiJrWJayfTU8kbgPwLVKs8WnDlHyp8jhtppRWiZxcgT4Q1fekVMJwdatgkk
2+mL5MWqIX+QmPKBzCjsMskMUlkXciNcttOpUObs7rtwFZIS5b5N6u45DIXWc9yP
hU142khzAGWSnukPDMCGXT4LLH2fqxxZt3FSv0P1tDSR504E/UnmqgYQ3MBqZowp
WyVKE53tbkseF8bMxWXVPFPcmANh+FZLrXFqmWy7EHqMx59cfrZqvs2bjw1cL3oK
r/S+mHzaWFDDl5qVwLO9ey/6PIMm5OpO8lm7eIC8h9+wLB63i6cQ3LeNyaMmiJW7
9qD+iiO97rJ1X/8Rf7ls9nB9QVFI9H25QPJu9K4Isxz8GvRGAmpCvAMRHgwgRHol
kNDUIq8/Q5yifZehhNBT
=12M4
-----END PGP SIGNATURE-----




More information about the lxc-users mailing list