touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #37246
[Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init
I agree it'd be nice for the download template to be clever and filter
its output. However the fact that it's very very difficult to know what
your CPU is actually capable of running (especially for arm64, armel,
armhf and powerpc, powerpc64 and ppc64el) and the name for the
architectures changes between distributions too.
So for now, we expect our users to know what architecture their CPU is
capable of running and then select something which has a chance to work.
Marking bug report as low priority wishlist.
** Changed in: lxc (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: lxc (Ubuntu)
Status: Incomplete => Triaged
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1396536
Title:
lxc_start - Exec format error - failed to exec /sbin/init
Status in “lxc” package in Ubuntu:
Triaged
Bug description:
I have an up to date Ubuntu 14.04. I followed the guide at
https://help.ubuntu.com/lts/serverguide/lxc.html
sudo apt-get install lxc && sudo lxc-create --template download --name
u1
- Choose ubuntu-vivid-armhf, then:
sudo lxc-start --name u1 --daemon
lxc-start 1416996721.249 INFO lxc_apparmor - changed apparmor profile
to lxc-container-default
lxc-start 1416996721.249 NOTICE lxc_start - exec'ing '/sbin/init'
lxc-start 1416996721.253 ERROR lxc_start - Exec format error - failed to exec /sbin/init
lxc-
$ sudo lxc-ls --fancy
NAME STATE IPV4 IPV6 AUTOSTART
------------------------------------
u1 STOPPED - - NO
$ sudo lxc-checkconfig
Kernel configuration not found at /proc/config.gz; searching...
Kernel configuration found at /boot/config-3.13.0-24-generic
--- Namespaces ---
Namespaces: enabled
Utsname namespace: enabled
Ipc namespace: enabled
Pid namespace: enabled
User namespace: enabled
Network namespace: enabled
Multiple /dev/pts instances: enabled
--- Control groups ---
Cgroup: enabled
Cgroup clone_children flag: enabled
Cgroup device: enabled
Cgroup sched: enabled
Cgroup cpu account: enabled
Cgroup memory controller: enabled
Cgroup cpuset: enabled
--- Misc ---
Veth pair device: enabled
Macvlan: enabled
Vlan: enabled
File capabilities: enabled
Note : Before booting a new kernel, you can check its configuration
usage : CONFIG=/path/to/config /usr/bin/lxc-checkconfig
Except apt-get update and apt-get upgrade I didn't install any other packages (okay, I installed vim and git).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1396536/+subscriptions
References