Public bug reported: Actually, it's not just the templates. Seems the LXC environment isn't setup correctly and I suspect multi-arch. Raring 13.04 using kernel 3.8.0-26-generic. lxc-version 0.9.0 from the daily-builds PPA, but, please note: I had the same problem under the standard raring edition. I added the daily PPA in the hope that it would help. It didn't! I purged ia32-libs and ia32-libs-multiarch to no avail. Does the installation look right? ybg@bgxtr:~/Media/Mininetry$ find /usr/lib|grep lxc /usr/lib/python3/dist-packages/lxc /usr/lib/python3/dist-packages/lxc/__init__.py /usr/lib/python3/dist-packages/lxc/__pycache__ /usr/lib/python3/dist-packages/lxc/__pycache__/__init__.cpython-33.pyc /usr/lib/python3/dist-packages/_lxc-0.1.egg-info /usr/lib/python3/dist-packages/_lxc.cpython-33m.so /usr/lib/x86_64-linux-gnu/lxc /usr/lib/x86_64-linux-gnu/lxc/README /usr/lib/x86_64-linux-gnu/lxc/lxc-init /usr/lib/x86_64-linux-gnu/liblxc.so.0.9.0 /usr/lib/x86_64-linux-gnu/liblxc.so.0
Following are two clean-slate scenarios following a fresh install of lxc and cgroup-lite, after purge of ia32-libs, but again, it behaved the same prior to the ia32-libs purge. First, ubuntu from template: sudo lxc-create -n ub -t ubuntu -l DEBUG -o ub.log -- -b ybg [ log file name should have been ./ub.log instead of ub.log. My fault. Don't know why locale is en_AU ] ( skipping lengthy output....) Ign http://archive.ubuntu.com raring-updates/universe Translation-en_AU Fetched 5,327 kB in 13s (386 kB/s) . . etc... Calculating upgrade... Done The following packages will be upgraded: isc-dhcp-client isc-dhcp-common libdbus-1-3 libdrm2 libplymouth2 libssl1.0.0 libudev1 plymouth rsyslog 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 3,539 kB of archives. After this operation, 2,048 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ raring-updates/main libssl1.0.0 amd64 1.0.1c-4ubuntu8.1 [1,050 kB] . . etc... Get:9 http://archive.ubuntu.com/ubuntu/ raring-updates/main rsyslog amd64 5.8.11-2ubuntu2.2 [434 kB] Fetched 3,539 kB in 7s (493 kB/s) Preconfiguring packages ... Can not write log, openpty() failed (/dev/pts not mounted?) . . Preparing to replace isc-dhcp-common 4.2.4-5ubuntu2 (using .../isc-dhcp-common_4.2.4-5ubuntu2.1_amd64.deb) ... . . etc... Can not write log, openpty() failed (/dev/pts not mounted?) Setting up libssl1.0.0:amd64 (1.0.1c-4ubuntu8.1) ... Setting up libdbus-1-3:amd64 (1.6.8-1ubuntu6.1) ... telinit: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Setting up libdrm2:amd64 (2.4.43-0ubuntu1.1) ... . . etc... Processing triggers for initramfs-tools ... Download complete Copy /var/cache/lxc/raring/rootfs-amd64 to /usr/lib/x86_64-linux-gnu/lxc ... Copying rootfs to /usr/lib/x86_64-linux-gnu/lxc ... Generating locales... en_AU.UTF-8... up-to-date Generation complete. Creating SSH2 RSA key; this may take some time ... Creating SSH2 DSA key; this may take some time ... Creating SSH2 ECDSA key; this may take some time ... ## # Log in as user ybg ## Starting: ybg@bgxtr:~/Media/Mininetry$ sudo lxc-start -n ub -l DEBUG -o ./ub.log -- -b ybg [log OK this time, following...] lxc-start: No such file or directory - failed to exec -b lxc-start: invalid sequence number 1. expected 4 lxc-start: failed to spawn 'ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuset/lxc/ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpu/lxc/ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/cpuacct/lxc/ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/memory/lxc/ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/devices/lxc/ub' lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup/freezer/lxc/ub' log file, ub.log attached ** Affects: lxc (Ubuntu) Importance: Undecided Status: New ** Tags: lxc ** Attachment added: "log file from lxc-start -n ub (the Ubuntu template)" https://bugs.launchpad.net/bugs/1198963/+attachment/3729200/+files/ub.log -- 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/1198963 Title: Templates don't launch. Multi-arch problem? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1198963/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs