install of lxcguest needs fixing
Bug #914155 reported by
Serge Hallyn
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
There are two bugs in the way lxcguest is installed in post_process() by lxc:
1. the host's /etc/resolv.conf should be copied into the chroot. Otherwise a cached image will fail to upgrade after a network context change.
2. The chroot needs to do 'apt-get update' before the apt-get install lxcguest. Otherwise an out of date cache will fail.
Point (2) would also be fixed by the (previously proposed) periodic clearing of the cache, but let's go ahead and apt-get update now and consider cache clearing later.
Changed in lxc (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
This bug was fixed in the package lxc - 0.7.5-3ubuntu5
---------------
lxc (0.7.5-3ubuntu5) precise; urgency=low
[ Robie Basak ] patches/ 0015-ubuntu- templ-use- updates. patch: use ports.ubuntu.com patches/ 0015-ubuntu- templ-use- updates. patch: dist-upgrade in an lxc.{default, init}: call ifconfig with explicit netmask
* debian/
in sources.list for alternative architectures (LP: #820715).
* debian/
isolated environment to avoid leaving a bind mount behind (LP: #913877).
* debian/
(LP: #913727).
[ Serge Hallyn ] lxcguest. console. upstart: pass 'console' not '/dev/console' to patches/ 0015-ubuntu- templ-use- updates. patch: at post_process(), cgroups. patch: nest container cgroups under the host's upstream- fedora- template. patch: move to the upstream lxc-ps- search- proc.patch: work when cgroups are mounted with patches/ 0019-fix- lxc-ls- nested- cgroups. patch: fix lxc-ls to
* debian/lxc.default: update the MIRROR example - using 'localhost'
fails for updates after the container has been started.
* debian/
getty. (LP: #913952)
* debian/
copy host's /etc/resolv.conf (which may have changed) into chroot before
apt-get actions, and always do a apt-get update before installing lxcguest,
as the package version may have changed in the archive. (LP: #914155)
* 0016-nested-
init cgroup. (LP: #901482)
* 0017-pull-
lxc-fedora template (LP: #881903)
* 0018-make-
'-n'.
* debian/
handle the support for nested cgroups. (pull this into previous
commit msg before pushing)
-- Serge Hallyn <email address hidden> Tue, 10 Jan 2012 18:51:45 +0000