Oops. Ignore the debootstrap line above. I'll fix the bug description. ** Description changed:
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 - /bin/sh -e /usr/sbin/debootstrap --verbose --components=main,universe --arch=armel --include=dialog,apt,apt-utils,iproute,inetutils-ping,vim,isc-dhcp-client,isc-dhcp-common,ssh,lsb-release,gnupg,netbase,ubuntu-keyring oneiric /var/cache/lxc/oneiric/partial-armel 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 + LANGUAGE=en_GB: + LC_COLLATE=C + LANG=en_GB.UTF-8 + SHELL=/bin/bash SourcePackage: lxc UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
