We've not seen any other issue like this in the past 5 years, users
usually know to pick something that they can actually run or know that
they'll need to setup emulation.

The error reported as weird as it is, is the expected behavior from the
kernel when asked to run a foreign architecture binary, so no obvious
bug to fix here nor really a way for LXC to distinguish that case from
an actual permission issue.

** Changed in: lxc (Ubuntu)
       Status: Triaged => Invalid

You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.

  lxc_start - Exec format error - failed to exec /sbin/init

Status in lxc package in Ubuntu:

Bug description:
  I have an up to date Ubuntu 14.04. I  followed the guide at

  sudo apt-get install lxc && sudo lxc-create --template download --name

  - Choose ubuntu-vivid-armhf, then: 
  sudo lxc-start --name u1 --daemon

        lxc-start 1416996721.249 INFO     lxc_apparmor - changed apparmor 
  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

  $ sudo lxc-ls --fancy
  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:

Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to