lxc-create fails on armel

Bug #912842 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

In /usr/lib/lxc/templates/lxc-ubuntu, lxc-create uses a mirror of archive.ubuntu.com/ubuntu in all cases, whereas armel (and some other archs) need ports.ubuntu.com/ubuntu-ports.

Steps to reproduce:

cat > lxc.conf <<EOF
lxc.network.type=veth
lxc.network.link=test_network
lxc.network.flags=up
EOF

lxc-create -n test_container -t ubuntu -f lxc.conf -- -r oneiric

Expected behaviour:

This should succeed

Actual behaviour: attached

Suggested fix:

<hallyn> i guess we'll need to special-case line 112 in lxc-ubuntu for armel

Note that debootstrap already special cases architectures, for example see the top of /usr/share/debootstrap/scripts/oneiric

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-1403.3-omap4 3.2.0-rc5
Uname: Linux 3.2.0-1403-omap4 armv7l
ApportVersion: 1.90-0ubuntu1
Architecture: armel
Date: Fri Jan 6 16:58:22 2012
ProcEnviron:
 LANGUAGE=en_GB:
 LC_COLLATE=C
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Robie Basak (racb) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Oops. Ignore the debootstrap line above. I'll fix the bug description.

description: updated
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

per stgraber on irc, amd64 and i386 go to archive.ubuntu.com/ubuntu, and the rest go to ports.ubuntu.com/ubuntu-ports

Robie Basak (racb)
Changed in lxc (Ubuntu):
assignee: nobody → Robie Basak (racb)
Revision history for this message
Robie Basak (racb) wrote :

This was fixed in 0.7.5-3ubuntu5.

Changed in lxc (Ubuntu):
assignee: Robie Basak (racb) → nobody
status: Triaged → 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.