[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
This bug was fixed in the package lxc - 0.7.5-3ubuntu67 --- lxc (0.7.5-3ubuntu67) precise-proposed; urgency=low * Don't directly write/remove /etc/dnsmasq.d/lxc as that's causing problems when removing and reinstalling lxc. Instead have dnsmasq ship /etc/dnsmasq.d-available/lxc and create/remove a symlink in /etc/dnsmasq.d/. (LP: #1113821) * Bump debhelper dependency and add Pre-Depends on newer dpkg for above fix. * Allow the container to mount efivars on /sys/firmware/efi/efivars. efivars is automatically mounted by mountall on UEFI systems, failure to do so leads to a complete boot failure. (LP: #1117589) * 0221-make-nonflush-upgrades-robust: be more robust about out of date container caches. (LP: #942862) * 0207-ubuntu-cloud-fixes.patch: cleanups to lxc-ubuntu-cloud.in fix for quantal images that do not have user 'ubuntu' present (LP: #1045955) * 0301-debian-copy-config: Pass all the arguments to copy_configuration. (LP: #613) -- Stephane Graber stgra...@ubuntu.com Thu, 07 Feb 2013 13:08:07 -0500 ** Changed in: lxc (Ubuntu Precise) Status: Fix Committed = Fix Released -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
Tested, all good. ** Tags removed: verification-needed ** Tags added: verification-done -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
Hello Matias, or anyone else affected, Accepted lxc into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/lxc/0.7.5-3ubuntu67 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: lxc (Ubuntu Precise) Status: In Progress = Fix Committed ** Tags added: verification-needed -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
** Description changed: - When running - lxc-create -t ubuntu -n u1-server -f /etc/lxc/local.conf -- -r lucid -a i386 -b matiasb + == Rationale == + On apt failure, LXC simply fails without telling the user that they may have an old cache and should just rebuild it. + This confuses some users who had some pretty old lucid cache on their system with out of date apt lists. + + The fix includes a better error message on failure and calls apt-get + update before trying to install anything. + + == Test case == + 1) Use a machine with a very old lucid cache (or manually break the apt lists) + 2) lxc-create -t ubuntu -n p1 -- --release lucid + 3) Check that it a) works or b) shows an error message telling you to wipe the cache + + == Regression potential == + It's just an extra apt-get update and a better error message so I don't expect any regression here. Worst case scenario, the user will just get the error message and have to wipe the cache. + + + When running + lxc-create -t ubuntu -n u1-server -f /etc/lxc/local.conf -- -r lucid -a i386 -b matiasb It downloads lucid packages, extracts packages, and then fails while installing: ... I: Installing core packages... W: Failure trying to run: chroot /var/cache/lxc/lucid/partial-i386 dpkg --force-depends --install /var/cache/apt/archives/libc6_2.11.1-0ubuntu7_i386.deb failed to execute template 'ubuntu' aborted ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: lxc 0.7.5-3ubuntu30 ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6 Uname: Linux 3.2.0-17-generic i686 ApportVersion: 1.93-0ubuntu2 Architecture: i386 Date: Tue Feb 28 16:51:54 2012 InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Alpha i386 (2029.1) ProcEnviron: - TERM=xterm - PATH=(custom, no user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, no user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: lxc UpgradeStatus: No upgrade log present (probably fresh install) ** Changed in: lxc (Ubuntu Precise) Assignee: (unassigned) = Stéphane Graber (stgraber) ** Changed in: lxc (Ubuntu Precise) Status: New = In Progress -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
Per the duplicate bug, 0221-make-nonflush-upgrades-robust should be SRUd to precise. ** Also affects: lxc (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu Precise) Importance: Undecided = Medium -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
** Changed in: lxc (Ubuntu) Assignee: (unassigned) = Serge Hallyn (serge-hallyn) ** Changed in: lxc (Ubuntu) Status: Confirmed = In Progress -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
This bug was fixed in the package lxc - 0.8.0~rc1-4ubuntu35 --- lxc (0.8.0~rc1-4ubuntu35) quantal; urgency=low * 0220-getitem-per-hook-type: support clear_item for specific hooks. (LP: #1050719) * 0221-make-nonflush-upgrades-robust: be more robust about out of date container caches. (LP: #942862) -- Serge Hallyn serge.hal...@ubuntu.com Fri, 14 Sep 2012 11:45:46 -0500 ** Changed in: lxc (Ubuntu) Status: In Progress = Fix Released -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 942862] Re: lxc-create failure creating a lucid container in a precise host with old cache
Marking low priority as there is a workaround. -- 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/942862 Title: lxc-create failure creating a lucid container in a precise host with old cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/942862/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs