{"action":"created","issue":{"url":"https://api.github.com/repos/lxc/lxc/issues/654","labels_url":"https://api.github.com/repos/lxc/lxc/issues/654/labels{/name}","comments_url":"https://api.github.com/repos/lxc/lxc/issues/654/comments","events_url":"https://api.github.com/repos/lxc/lxc/issues/654/events","html_url":"https://github.com/lxc/lxc/issues/654","id":106166344,"number":654,"title":"Container fails to start with x86_64 Kernel and x86 userland","user":{"login":"copyninja","id":195456,"avatar_url":"https://avatars.githubusercontent.com/u/195456?v=3","gravatar_id":"","url":"https://api.github.com/users/copyninja","html_url":"https://github.com/copyninja","followers_url":"https://api.github.com/users/copyninja/followers","following_url":"https://api.github.com/users/copyninja/following{/other_user}","gists_url":"https://api.github.com/users/copyninja/gists{/gist_id}","starred_url":"https://api.github.com/users/copyninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copyninja/subscriptions","organizations_url":"https://api.github.com/users/copyninja/orgs","repos_url":"https://api.github.com/users/copyninja/repos","events_url":"https://api.github.com/users/copyninja/events{/privacy}","received_events_url":"https://api.github.com/users/copyninja/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-12T15:15:11Z","updated_at":"2015-09-27T13:30:23Z","closed_at":null,"body":"Hi,\r\nI've bit of weird setup in my laptop. I run Debian unstable with x86_64 kernel but 386 userland. uname command output on my system looks like below\r\n```Linux rudra 4.1.0-2-amd64 #1 SMP Debian 4.1.6-1 (2015-08-23) x86_64 GNU/Linux```\r\n\r\nI've created a container using below configuration\r\n```ini\r\nlxc.cgroup.cpuset.cpus = 0,1\r\nlxc.cgroup.cpu.shares = 200\r\n\r\nlxc.cgroup.memory.limit_in_bytes = 900M\r\nlxc.cgroup.memory.soft_limit_in_bytes = 512M\r\n\r\nlxc.network.type = veth\r\nlxc.network.flags = up\r\nlxc.network.link = natbr0\r\nlxc.network.name = eth0\r\n\r\nlxc.utsname = sidbuilder.copyninja.info\r\nlxc.arch = x86\r\n```\r\nNow when I try to start the container with lxc-start I see below error\r\n\r\n```sh\r\nlxc-start: seccomp.c: get_new_ctx: 167 Seccomp error -17 (Unknown error -17) adding arch: 2\r\nlxc-start: start.c: lxc_init: 382 failed loading seccomp policy\r\nlxc-start: start.c: __lxc_start: 1045 failed to initialize the container\r\nlxc-start: lxc_start.c: main: 342 The container failed to start.\r\nlxc-start: lxc_start.c: main: 346 Additional information can be obtained by setting the --logfile and --logpriority options.\r\n```\r\nIs it possible to run lxc undex x86_64 kernel with 386 (x86) user land?.."},"comment":{"url":"https://api.github.com/repos/lxc/lxc/issues/comments/143550881","html_url":"https://github.com/lxc/lxc/issues/654#issuecomment-143550881","issue_url":"https://api.github.com/repos/lxc/lxc/issues/654","id":143550881,"user":{"login":"copyninja","id":195456,"avatar_url":"https://avatars.githubusercontent.com/u/195456?v=3","gravatar_id":"","url":"https://api.github.com/users/copyninja","html_url":"https://github.com/copyninja","followers_url":"https://api.github.com/users/copyninja/followers","following_url":"https://api.github.com/users/copyninja/following{/other_user}","gists_url":"https://api.github.com/users/copyninja/gists{/gist_id}","starred_url":"https://api.github.com/users/copyninja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copyninja/subscriptions","organizations_url":"https://api.github.com/users/copyninja/orgs","repos_url":"https://api.github.com/users/copyninja/repos","events_url":"https://api.github.com/users/copyninja/events{/privacy}","received_events_url":"https://api.github.com/users/copyninja/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T13:30:23Z","updated_at":"2015-09-27T13:30:23Z","body":"@hallyn  Sorry for delayed response on my system ldd shows below output.\r\n```sh\r\nvasudev@rudra:~/Documents/Debian/collab-maint/lcdf-typetools$ ldd /usr/bin/lxc-create \r\n        linux-gate.so.1 (0xf774a000)\r\n        liblxc.so.1 => /usr/lib/i386-linux-gnu/liblxc.so.1 (0xf76b1000)\r\n        libcap.so.2 => /lib/i386-linux-gnu/libcap.so.2 (0xf76ab000)\r\n        libapparmor.so.1 => /lib/i386-linux-gnu/libapparmor.so.1 (0xf7698000)\r\n        libselinux.so.1 => /lib/i386-linux-gnu/libselinux.so.1 (0xf7670000)\r\n        libseccomp.so.2 => /lib/i386-linux-gnu/libseccomp.so.2 (0xf7655000)\r\n        libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xf7651000)\r\n        libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xf7635000)\r\n        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xf7489000)\r\n        libcgmanager.so.0 => /lib/i386-linux-gnu/libcgmanager.so.0 (0xf745b000)\r\n        libnih.so.1 => /lib/libnih.so.1 (0xf7444000)\r\n        libnih-dbus.so.1 => /lib/libnih-dbus.so.1 (0xf743b000)\r\n        libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xf73df000)\r\n        /lib/ld-linux.so.2 (0x565b7000)\r\n        libattr.so.1 => /lib/i386-linux-gnu/libattr.so.1 (0xf73d8000)\r\n        libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xf7365000)\r\n        libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xf7360000)\r\n        librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xf7357000)\r\n        libsystemd.so.0 => /lib/i386-linux-gnu/libsystemd.so.0 (0xf72c9000)\r\n        libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xf7282000)\r\n        libresolv.so.2 => /lib/i386-linux-gnu/i686/cmov/libresolv.so.2 (0xf726b000)\r\n        liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xf7242000)\r\n        libgcrypt.so.20 => /lib/i386-linux-gnu/libgcrypt.so.20 (0xf7191000)\r\n        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7174000)\r\n        libgpg-error.so.0 => /lib/i386-linux-gnu/libgpg-error.so.0 (0xf715e000)\r\n```\r\nAnd \r\n```sh\r\nvasudev@rudra:~/Documents/Debian/collab-maint/lcdf-typetools$ dpkg -S /lib/i386-linux-gnu/libseccomp.so.2.2.3 \r\nlibseccomp2:i386: /lib/i386-linux-gnu/libseccomp.so.2.2.3\r\n```"}}