[Bug 912842] [NEW] lxc-create fails on armel

Robie Basak 912842 at bugs.launchpad.net
Fri Jan 6 17:04:39 UTC 2012


Public bug reported:

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)

** Affects: lxc (Ubuntu)
     Importance: Medium
     Assignee: Robie Basak (racb)
         Status: Triaged


** Tags: apport-bug armel precise

-- 
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/912842

Title:
  lxc-create fails on armel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/912842/+subscriptions



More information about the Ubuntu-server-bugs mailing list