Created
February 17, 2014 18:13
-
-
Save nelsnelson/9055991 to your computer and use it in GitHub Desktop.
Simple lxc-execute failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo aptitude versions lxc | grep 1.0.0 | |
p 1.0.0~beta1-5~r1+1 unstable 500 | |
p 1.0.0~beta1-5~r1+1 unstable 500 | |
p 1.0.0~beta1-5~r1+1 unstable 500 | |
p 1.0.0~beta1-5~r1+1 unstable 500 | |
$ sudo apt-get install lxc=1.0.0~beta1-5~r1+1 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following extra packages will be installed: | |
libapparmor1 libffi5 liblua5.2-0 libseccomp2 lua5.2 lxc-stuff python3 python3-minimal python3.2 python3.2-minimal | |
Suggested packages: | |
live-debconfig-doc debian-keyring python3-doc python3-tk python3.2-doc binutils binfmt-support | |
Recommended packages: | |
irker | |
The following NEW packages will be installed: | |
libapparmor1 libffi5 liblua5.2-0 libseccomp2 lua5.2 lxc lxc-stuff python3 python3-minimal python3.2 python3.2-minimal | |
0 upgraded, 11 newly installed, 0 to remove and 12 not upgraded. | |
Need to get 5,294 kB/5,319 kB of archives. | |
After this operation, 17.6 MB of additional disk space will be used. | |
Do you want to continue [Y/n]? y | |
Get:1 http://ftp.us.debian.org/debian/ wheezy/main liblua5.2-0 amd64 5.2.1-3 [95.9 kB] | |
Get:2 http://pkg.ohthree.com/ onion-unstable/main libseccomp2 amd64 2.1.0+dfsg-1~r1+1 [36.5 kB] | |
Get:3 http://ftp.us.debian.org/debian/ wheezy/main libapparmor1 amd64 2.7.103-4 [58.7 kB] | |
Get:4 http://pkg.ohthree.com/ onion-unstable/main lxc amd64 1.0.0~beta1-5~r1+1 [397 kB] | |
Get:5 http://ftp.us.debian.org/debian/ wheezy/main lua5.2 amd64 5.2.1-3 [159 kB] | |
Get:6 http://pkg.ohthree.com/ onion-unstable/main lxc-stuff all 1.0.0~beta1-5~r1+1 [50.3 kB] | |
Get:7 http://ftp.us.debian.org/debian/ wheezy/main python3.2-minimal amd64 3.2.3-7 [1,855 kB] | |
Get:8 http://ftp.us.debian.org/debian/ wheezy/main python3.2 amd64 3.2.3-7 [2,578 kB] | |
Get:9 http://ftp.us.debian.org/debian/ wheezy/main python3-minimal all 3.2.3-6 [20.9 kB] | |
Get:10 http://ftp.us.debian.org/debian/ wheezy/main python3 all 3.2.3-6 [43.4 kB] | |
Fetched 5,294 kB in 11s (478 kB/s) | |
Preconfiguring packages ... | |
Selecting previously unselected package libffi5:amd64. | |
(Reading database ... 28455 files and directories currently installed.) | |
Unpacking libffi5:amd64 (from .../libffi5_3.0.10-3_amd64.deb) ... | |
Selecting previously unselected package liblua5.2-0:amd64. | |
Unpacking liblua5.2-0:amd64 (from .../liblua5.2-0_5.2.1-3_amd64.deb) ... | |
Selecting previously unselected package libseccomp2:amd64. | |
Unpacking libseccomp2:amd64 (from .../libseccomp2_2.1.0+dfsg-1~r1+1_amd64.deb) ... | |
Selecting previously unselected package libapparmor1. | |
Unpacking libapparmor1 (from .../libapparmor1_2.7.103-4_amd64.deb) ... | |
Selecting previously unselected package lxc. | |
Unpacking lxc (from .../lxc_1.0.0~beta1-5~r1+1_amd64.deb) ... | |
Selecting previously unselected package lua5.2. | |
Unpacking lua5.2 (from .../lua5.2_5.2.1-3_amd64.deb) ... | |
Selecting previously unselected package lxc-stuff. | |
Unpacking lxc-stuff (from .../lxc-stuff_1.0.0~beta1-5~r1+1_all.deb) ... | |
Selecting previously unselected package python3.2-minimal. | |
Unpacking python3.2-minimal (from .../python3.2-minimal_3.2.3-7_amd64.deb) ... | |
Selecting previously unselected package python3.2. | |
Unpacking python3.2 (from .../python3.2_3.2.3-7_amd64.deb) ... | |
Selecting previously unselected package python3-minimal. | |
Unpacking python3-minimal (from .../python3-minimal_3.2.3-6_all.deb) ... | |
Selecting previously unselected package python3. | |
Unpacking python3 (from .../python3_3.2.3-6_all.deb) ... | |
Processing triggers for man-db ... | |
Setting up libffi5:amd64 (3.0.10-3) ... | |
Setting up liblua5.2-0:amd64 (5.2.1-3) ... | |
Setting up libseccomp2:amd64 (2.1.0+dfsg-1~r1+1) ... | |
Setting up libapparmor1 (2.7.103-4) ... | |
Setting up lxc (1.0.0~beta1-5~r1+1) ... | |
Setting up lua5.2 (5.2.1-3) ... | |
update-alternatives: using /usr/bin/lua5.2 to provide /usr/bin/lua (lua-interpreter) in auto mode | |
update-alternatives: using /usr/bin/luac5.2 to provide /usr/bin/luac (lua-compiler) in auto mode | |
Setting up lxc-stuff (1.0.0~beta1-5~r1+1) ... | |
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match irkerhook-lxc Default-Stop values (0 6) | |
Setting up python3.2-minimal (3.2.3-7) ... | |
Setting up python3.2 (3.2.3-7) ... | |
Setting up python3-minimal (3.2.3-6) ... | |
Setting up python3 (3.2.3-6) ... | |
running python rtupdate hooks for python3.2... | |
running python post-rtupdate hooks for python3.2... | |
$ ls /usr/bin/lxc* | |
/usr/bin/lxc /usr/bin/lxc-checkpoint /usr/bin/lxc-destroy /usr/bin/lxc-initscript /usr/bin/lxc-monitord /usr/bin/lxc-snapshot /usr/bin/lxc-unfreeze /usr/bin/lxc-wait | |
/usr/bin/lxc-attach /usr/bin/lxc-clone /usr/bin/lxc-device /usr/bin/lxc-kill /usr/bin/lxc-netstat /usr/bin/lxc-start /usr/bin/lxc-unshare | |
/usr/bin/lxc-backup /usr/bin/lxc-config /usr/bin/lxc-execute /usr/bin/lxc-list /usr/bin/lxc-ps /usr/bin/lxc-start-ephemeral /usr/bin/lxc-user-nic | |
/usr/bin/lxc-cgroup /usr/bin/lxc-console /usr/bin/lxc-freeze /usr/bin/lxc-ls /usr/bin/lxc-restart /usr/bin/lxc-stop /usr/bin/lxc-usernsexec | |
/usr/bin/lxc-checkconfig /usr/bin/lxc-create /usr/bin/lxc-info /usr/bin/lxc-monitor /usr/bin/lxc-restore /usr/bin/lxc-top /usr/bin/lxc-version | |
$ sudo reboot | |
Broadcast message from root@yama (pts/6) (Thu Feb 6 04:41:46 2014): | |
The system is going down for reboot NOW! | |
$ Connection to yama closed by remote host. | |
Connection to yama closed. | |
nels.nelson@sol:~$ ssh yama -p314 | |
Linux yama 3.12.6-4-rackos #1 SMP Thu Feb 13 13:01:43 EST 2014 x86_64 | |
The programs included with the Debian GNU/Linux system are free software; | |
the exact distribution terms for each program are described in the | |
individual files in /usr/share/doc/*/copyright. | |
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | |
permitted by applicable law. | |
Last login: Thu Feb 6 04:35:06 2014 from 192.168.60.1 | |
$ ./seccomp.sh | |
Executing lxc instance: | |
lxc-execute: Failed to find an lxc-init | |
lxc-execute: invalid sequence number 1. expected 4 | |
lxc-execute: failed to spawn 'echo-test' | |
Debug output: | |
lxc-execute 1391683419.191 INFO lxc_lsm - LSM security driver nop | |
lxc-execute 1391683419.191 DEBUG lxc_start - sigchild handler set | |
lxc-execute 1391683419.191 INFO lxc_console - no console for lxc-execute. | |
lxc-execute 1391683419.191 INFO lxc_start - 'echo-test' is initialized | |
lxc-execute 1391683419.196 DEBUG lxc_start - Not dropping cap_sys_boot or watching utmp | |
lxc-execute 1391683419.199 DEBUG lxc_conf - Set exec command to cat | |
lxc-execute 1391683419.199 DEBUG lxc_conf - capabilities have been setup | |
lxc-execute 1391683419.199 NOTICE lxc_conf - 'echo-test' is setup. | |
lxc-execute 1391683419.199 ERROR lxc_execute - Failed to find an lxc-init | |
lxc-execute 1391683419.199 ERROR lxc_sync - invalid sequence number 1. expected 4 | |
lxc-execute 1391683419.200 ERROR lxc_start - failed to spawn 'echo-test' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment