[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2020-03-25 Thread Stéphane Graber
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

[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2014-11-26 Thread Stéphane Graber
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 b

[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2014-11-26 Thread windowsguy
No my arch is amd64, that's why I specified "-a armhf". I know about qemu (I wasn't sure whether to use static or binfmt), but errors should be meaningful, instead it seems as if lxc is working fine, but in fact it's not. Obviously it's not a matter of permissions, so the error is wrong. The im

[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2014-11-26 Thread windowsguy
$ sudo file /var/lib/lxc/u1/rootfs/sbin/upstart /var/lib/lxc/u1/rootfs/sbin/upstart: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=401fd3761e2edac12fc6081bebbfd834a985e11b, stripped -- You received this bug

[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2014-11-26 Thread windowsguy
$ sudo ls -lisa /var/lib/lxc/u1/rootfs/sbin/init 541928 0 lrwxrwxrwx 1 root root 7 Nov 19 23:17 /var/lib/lxc/u1/rootfs/sbin/init -> upstart $ sudo ls -lisa /var/lib/lxc/u1/rootfs/sbin/upstart 541969 220 -rwxr-xr-x 1 root root 223596 Nov 19 23:17 /var/lib/lxc/u1/rootfs/sbin/upstart -- You receiv

[Touch-packages] [Bug 1396536] Re: lxc_start - Exec format error - failed to exec /sbin/init

2014-11-26 Thread windowsguy
In case it wasn't clear I followed instructions for "basic privileged usage". not user namespaces. -- 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 - Ex