arm containers should not use the /etc/default/lxc MIRROR variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Medium
|
Serge Hallyn |
Bug Description
I have a local apt-cacher-ng mirror which I also put in /etc/default/lxc as the MIRROR to speed up container creation. However, when I create arm containers, lxc-create always fails with:
I: Running command: debootstrap --arch armhf --foreign --verbose --components=
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 630239CC130E1A7
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/precise/
until I unset the MIRROR variable.
Perhaps this would be better fixed by switching to a 'proxy' variable (and then respecting what is in /etc/apt/ for the proxy). Or, the ubuntu template should ignore the MIRROR variable for arm containers, as they need to puse ports.ubuntu.com.
Changed in lxc (Ubuntu): | |
importance: | Undecided → Medium |
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
Changed in lxc (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Confirmed → In Progress |
Fix committed in upstream git.