arm containers should not use the /etc/default/lxc MIRROR variable

Bug #1135871 reported by Serge Hallyn
6
This bug affects 1 person
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=main,universe --include=vim,ssh precise /var/cache/lxc/precise/partial-armhf http://10.42.43.1:3142/archive.ubuntu.com/ubuntu
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 630239CC130E1A7FD81A27B140976EAF437D05B5)
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/precise/main/binary-armhf/Packages

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
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Fix committed in upstream git.

Changed in lxc (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu2

---------------
lxc (1.0.0~alpha1-0ubuntu2) saucy; urgency=low

  * Add allow-stderr to autopkgtst restrictions as the Ubuntu template
    uses policy-rc.d to disable some daemons and that causes a message to
    be printed on stderr when the service tries to start.
 -- Stephane Graber <email address hidden> Thu, 12 Sep 2013 13:57:17 -0400

Changed in lxc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.