[Lxc-users] lxc setup on a grsec enabled kernel

Patrick Winnertz winnie at der-winnie.de
Sun Jan 9 12:25:53 UTC 2011


Hello,

I've tried the last days hard to set up working lxc containers on a grsec 
enabled kernel. However I failed everytime with several error msgs and/or 
kernel oopses. 

After booting in the grsec kernel I've verified with gradm that RBAC is 
disabled to start the containers first:

gradm -D
lxc-start -n example

however I get then first an error that /dev/pts can't be mounted and afterwards 
a kernel oops,  which you can find attached to this mail - it seems to be some 
troubles with veth networking. I've straced the process and this is the output 
(strace-lxc1):

335:read(16, lxc-start: Operation not permitted - failed to mount a new 
instance of '/dev/pts'
336:lxc-start: failed to setup the new pts instance
337:lxc-start: failed to setup the container
344:write(2, "failed to spawn 'web'", 21failed to spawn 'web')   = 21
358:write(2, "Device or resource busy - failed"..., 63Device or resource busy 
- failed to remove cgroup '/cgroup/web') = 63

After a reboot I tried again, but this time I switched into the learning mode 
of grsec.. now the kernel oops is gone, however I'm getting now this error msg 
(output from strace (strace-lxc2)):

failed to create vethde3FDA-veth"..., 64failed to create vethde3FDA-vethelGBjP 
: Operation not permitted) = 64
295:write(2, "failed to create netdev", 23failed to create netdev) = 23
299:write(2, "failed to create the network", 28failed to create the network) = 
28
305:write(2, "failed to spawn 'web'", 21failed to spawn 'web')   = 21
319:write(2, "No such file or directory - fail"..., 65No such file or directory 
- failed to remove cgroup '/cgroup/web') = 65

It would be nice if someone could give me hints or advices what is going wrong 
here and how to fix it. Full strace output of both lxc-start runs is also 
attached to the mail

Greetings
Patrick
-------------- next part --------------
[  393.635242] grsec: more alerts, logging disabled for 10 seconds
[  393.643695] device vethuWmSRo entered promiscuous mode
[  393.647889] ADDRCONF(NETDEV_UP): vethuWmSRo: link is not ready
[  393.653918] lo: Disabled Privacy Extensions
[  393.662518] ADDRCONF(NETDEV_CHANGE): vethuWmSRo: link becomes ready
[  393.662646] br0: port 1(vethuWmSRo) entering learning state
[  393.662701] br0: port 1(vethuWmSRo) entering learning state
[  393.683650] BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
[  393.683788] IP: [<ffffffff81192966>] gr_search_file+0x43/0x9e
[  393.683881] PGD 7882e067 PUD 79fb7067 PMD 0 
[  393.684016] Oops: 0000 [#2] SMP 
[  393.684016] last sysfs file: /sys/devices/virtual/net/vethuWmSRo/uevent
[  393.684016] CPU 0 
[  393.684016] Modules linked in: veth xt_multiport xt_state iptable_filter ipt_MASQUERADE xt_tcpudp iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables bridge stp snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm evdev psmouse snd_timer tpm_tis tpm pcspkr snd serio_raw parport_pc tpm_bios soundcore snd_page_alloc shpchp parport sis_agp pci_hotplug processor button ext4 mbcache jbd2 crc16 dm_mod sd_mod crc_t10dif sata_sis ata_generic pata_sis libata ohci_hcd ehci_hcd scsi_mod usbcore thermal thermal_sys sis900 mii nls_base [last unloaded: scsi_wait_scan]
[  393.684016] 
[  393.684016] Pid: 1724, comm: lxc-start Tainted: G      D     2.6.36.2-cgroup-grsec-grsec #3 D201GLY/        
[  393.684016] RIP: 0010:[<ffffffff81192966>]  [<ffffffff81192966>] gr_search_file+0x43/0x9e
[  393.684016] RSP: 0018:ffff8800379efd58  EFLAGS: 00010292
[  393.684016] RAX: 0000000000000000 RBX: 0000000000404010 RCX: 0000000000000007
[  393.684016] RDX: 0000000000029003 RSI: 0000000000000001 RDI: 0000000000000002
[  393.684016] RBP: ffff88007a0e6300 R08: ffff8800379efd10 R09: 0000000000000001
[  393.684016] R10: 0000000000000000 R11: 00007f5c8db00943 R12: ffff88007913e100
[  393.684016] R13: ffff880037b7e400 R14: 0000000000601ec0 R15: 00007fffb35c6300
[  393.684016] FS:  00007f5c8df1c700(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000
[  393.684016] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  393.684016] CR2: 0000000000000014 CR3: 00000000379c2000 CR4: 00000000000006f0
[  393.684016] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  393.684016] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  393.684016] Process lxc-start (pid: 1724, threadinfo ffff8800379ee000, task ffff880079c27200)
[  393.684016] Stack:
[  393.684016]  0000000300271d65 ffff8800379efe98 ffff88003747a001 0000000000000003
[  393.684016] <0> 00007fffb35c6200 ffffffff811973f1 ffff88007913e100 ffff88007a0e6300
[  393.684016] <0> ffff8800379efe98 ffffffff810fff65 ffff8800379eff38 ffff88007d652000
[  393.684016] Call Trace:
[  393.684016]  [<ffffffff811973f1>] ? gr_acl_handle_hidden_file+0x28/0x8c
[  393.684016]  [<ffffffff810fff65>] ? link_path_walk+0x3bf/0x444
[  393.684016]  [<ffffffff81106104>] ? dput+0x2c/0x14f
[  393.684016]  [<ffffffff811000d9>] ? path_walk+0x63/0xd6
[  393.684016]  [<ffffffff810ff47b>] ? path_init+0x42/0x16e
[  393.684016]  [<ffffffff81100242>] ? do_path_lookup+0x20/0x85
[  393.684016]  [<ffffffff81100da3>] ? user_path_at+0x46/0x78
[  393.684016]  [<ffffffff8110b46d>] ? sys_pivot_root+0x38d/0x3c6
[  393.684016]  [<ffffffff810f44ee>] ? sys_chdir+0x1b/0x72
[  393.684016]  [<ffffffff81008ac2>] ? system_call_fastpath+0x16/0x1b
[  393.684016] Code: 01 75 09 89 f0 25 ff 03 f0 ff eb 71 65 48 8b 04 25 00 5c 00 00 4c 8b a8 c8 06 00 00 4c 89 e6 4c 89 ea e8 c3 ef ff ff 41 8b 55 14 <8b> 40 14 21 d8 f7 c2 08 40 00 00 74 45 f7 c3 00 00 20 00 75 3d 
[  393.684016] RIP  [<ffffffff81192966>] gr_search_file+0x43/0x9e
[  393.684016]  RSP <ffff8800379efd58>
[  393.684016] CR2: 0000000000000014
[  393.690603] ---[ end trace 6d9f265d39b87d53 ]---
-------------- next part --------------
execve("/usr/bin/lxc-start", ["lxc-start", "-n", "web"], [/* 13 vars */]) = 0
brk(0)                                  = 0x601e88
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232f000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/tls/x86_64/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/tls/x86_64", 0x7fff8b636300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/tls/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/tls", 0x7fff8b636300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/x86_64/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/x86_64", 0x7fff8b636300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/liblxc.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pv\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=136608, ...}) = 0
mmap(NULL, 2236256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb6c1ef2000
mprotect(0x7fb6c1f12000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c2111000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x7fb6c2111000
mmap(0x7fb6c2113000, 3936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb6c2113000
close(3)                                = 0
open("/usr/lib/lxc/libcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb6c232b000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libcap.so.2", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=16640, ...}) = 0
mmap(NULL, 2111936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb6c1cee000
mprotect(0x7fb6c1cf2000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c1ef1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb6c1ef1000
close(3)                                = 0
open("/usr/lib/lxc/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\355\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1432968, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232a000
mmap(NULL, 3541032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb6c198d000
mprotect(0x7fb6c1ae5000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c1ce4000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157000) = 0x7fb6c1ce4000
mmap(0x7fb6c1ce9000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb6c1ce9000
close(3)                                = 0
open("/usr/lib/lxc/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10648, ...}) = 0
mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb6c178a000
mprotect(0x7fb6c178c000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c198b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7fb6c198b000
close(3)                                = 0
open("/usr/lib/lxc/libattr.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libattr.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=17608, ...}) = 0
mmap(NULL, 2112752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb6c1586000
mprotect(0x7fb6c158a000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c1789000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7fb6c1789000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c2329000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c2328000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c2327000
arch_prctl(ARCH_SET_FS, 0x7fb6c2328700) = 0
mprotect(0x7fb6c198b000, 4096, PROT_READ) = 0
mprotect(0x7fb6c1ce4000, 16384, PROT_READ) = 0
mprotect(0x7fb6c2331000, 4096, PROT_READ) = 0
munmap(0x7fb6c232b000, 12458)           = 0
getuid()                                = 0
getgid()                                = 0
geteuid()                               = 0
brk(0)                                  = 0x601e88
brk(0x622e88)                           = 0x622e88
brk(0x623000)                           = 0x623000
access("/var/lib/lxc/web/config", F_OK) = 0
open("/var/lib/lxc/web/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=986, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232e000
read(3, "lxc.tty = 4\nlxc.pts = 1024\nlxc.r"..., 4096) = 986
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb6c232e000, 4096)            = 0
open("/proc/self/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 6 entries */, 32768)     = 144
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
sendto(3, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(3)                                = 0
open("/dev/ptmx", O_RDWR)               = 3
statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TIOCGPTN, [1])                 = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
getuid()                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232e000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 475
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7fb6c232e000, 4096)            = 0
open("/usr/lib/lxc/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fb6c232b000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\23\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=31616, ...}) = 0
mmap(NULL, 2127088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb6c137e000
mprotect(0x7fb6c1385000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c1584000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7fb6c1584000
close(4)                                = 0
open("/usr/lib/lxc/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300@\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=89064, ...}) = 0
mmap(NULL, 2194128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb6c1166000
mprotect(0x7fb6c117b000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c137a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x14000) = 0x7fb6c137a000
mmap(0x7fb6c137c000, 6864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb6c137c000
close(4)                                = 0
mprotect(0x7fb6c137a000, 4096, PROT_READ) = 0
mprotect(0x7fb6c1584000, 4096, PROT_READ) = 0
munmap(0x7fb6c232b000, 12458)           = 0
open("/usr/lib/lxc/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7fb6c232b000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY)  = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0  \0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=43552, ...}) = 0
mmap(NULL, 2139320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb6c0f5b000
mprotect(0x7fb6c0f65000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c1164000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x7fb6c1164000
close(4)                                = 0
open("/usr/lib/lxc/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p!\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47616, ...}) = 0
mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7fb6c0d4f000
mprotect(0x7fb6c0d5a000, 2093056, PROT_NONE) = 0
mmap(0x7fb6c0f59000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7fb6c0f59000
close(4)                                = 0
mprotect(0x7fb6c0f59000, 4096, PROT_READ) = 0
mprotect(0x7fb6c1164000, 4096, PROT_READ) = 0
munmap(0x7fb6c232b000, 12458)           = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
lseek(4, 0, SEEK_CUR)                   = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 4, 0) = 0x7fb6c232e000
lseek(4, 622, SEEK_SET)                 = 622
munmap(0x7fb6c232e000, 622)             = 0
close(4)                                = 0
ioctl(3, TIOCSPTLCK, [0])               = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TIOCGPTN, [1])                 = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
open("/dev/pts/1", O_RDWR|O_NOCTTY)     = 4
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(5, TIOCGPTN, [2])                 = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 6
lseek(6, 0, SEEK_CUR)                   = 0
fstat(6, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 6, 0) = 0x7fb6c232e000
lseek(6, 622, SEEK_SET)                 = 622
munmap(0x7fb6c232e000, 622)             = 0
close(6)                                = 0
ioctl(5, TIOCSPTLCK, [0])               = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(5, TIOCGPTN, [2])                 = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
open("/dev/pts/2", O_RDWR|O_NOCTTY)     = 6
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, TIOCGPTN, [3])                 = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 8
lseek(8, 0, SEEK_CUR)                   = 0
fstat(8, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 8, 0) = 0x7fb6c232e000
lseek(8, 622, SEEK_SET)                 = 622
munmap(0x7fb6c232e000, 622)             = 0
close(8)                                = 0
ioctl(7, TIOCSPTLCK, [0])               = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, TIOCGPTN, [3])                 = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
open("/dev/pts/3", O_RDWR|O_NOCTTY)     = 8
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [4])                 = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 10
lseek(10, 0, SEEK_CUR)                  = 0
fstat(10, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 10, 0) = 0x7fb6c232e000
lseek(10, 622, SEEK_SET)                = 622
munmap(0x7fb6c232e000, 622)             = 0
close(10)                               = 0
ioctl(9, TIOCSPTLCK, [0])               = 0
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [4])                 = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
open("/dev/pts/4", O_RDWR|O_NOCTTY)     = 10
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
access("/dev/tty", F_OK)                = 0
open("/dev/tty", O_RDWR)                = 11
close(11)                               = 0
open("/dev/ptmx", O_RDWR)               = 11
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TIOCGPTN, [5])                = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 12, 0) = 0x7fb6c232e000
lseek(12, 622, SEEK_SET)                = 622
munmap(0x7fb6c232e000, 622)             = 0
close(12)                               = 0
ioctl(11, TIOCSPTLCK, [0])              = 0
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TIOCGPTN, [5])                = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
open("/dev/pts/5", O_RDWR|O_NOCTTY)     = 12
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
capget(0x20080522, 0, NULL)             = 0
capget(0x20080522, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
capset(0x20080522, 0, {0, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
open("/dev/tty", O_RDWR|O_CREAT|O_APPEND|O_CLOEXEC, 0600) = 13
capget(0x20080522, 0, NULL)             = 0
capget(0x20080522, 0, {0, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
capset(0x20080522, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, ~[ILL BUS SEGV RTMIN RT_1], [], 8) = 0
signalfd4(-1, ~[ILL BUS SEGV RTMIN RT_1], 8, 0) = 14
fcntl(14, F_SETFD, FD_CLOEXEC)          = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [15, 16]) = 0
fcntl(15, F_SETFD, FD_CLOEXEC)          = 0
getpid()                                = 1366
lstat("vethLYfLRP", 0x7fff8b6367f0)     = -1 ENOENT (No such file or directory)
lstat("vethlMK8bs", 0x7fff8b6367f0)     = -1 ENOENT (No such file or directory)
socket(PF_NETLINK, SOCK_RAW, 0)         = 17
setsockopt(17, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(17, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(17, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(17, {sa_family=AF_NETLINK, pid=1366, groups=00000000}, [12]) = 0
time(NULL)                              = 1294571904
sendmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"h\0\0\0\20\0\5\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 104}], msg_controllen=0, msg_flags=0}, 0) = 104
recvmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"$\0\0\0\2\0\0\0\0\0\0\0V\5\0\0\0\0\0\0h\0\0\0\20\0\5\6\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 36
close(17)                               = 0
access("/proc/net", R_OK)               = 0
access("/proc/net/unix", R_OK)          = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 17
ioctl(17, SIOCGIFINDEX, {ifr_name="vethLYfLRP", ifr_index=5}) = 0
close(17)                               = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 17
ioctl(17, SIOCBRADDIF, 0x7fff8b636880)  = 0
close(17)                               = 0
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 17
ioctl(17, SIOCGIFINDEX, {ifr_name="vethlMK8bs", ifr_index=4}) = 0
close(17)                               = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 17
setsockopt(17, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(17, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(17, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(17, {sa_family=AF_NETLINK, pid=1366, groups=00000000}, [12]) = 0
time(NULL)                              = 1294571904
socket(PF_FILE, SOCK_DGRAM|SOCK_CLOEXEC, 0) = 18
ioctl(18, SIOCGIFINDEX, {ifr_name="vethLYfLRP", ifr_index=5}) = 0
close(18)                               = 0
sendmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{" \0\0\0\20\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0\1\0\0\0\1\0\0\0", 32}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"$\0\0\0\2\0\0\0\0\0\0\0V\5\0\0\0\0\0\0 \0\0\0\20\0\5\0\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 36
close(17)                               = 0
clone(child_stack=0x7fff8b636910, flags=CLONE_NEWNS|0x6c000000|SIGCHLD) = 1377
close(15)                               = 0
read(16, "\0\0\0\0", 4)                 = 4
open("/etc/mtab", O_RDONLY)             = 15
fstat(15, {st_mode=S_IFREG|0644, st_size=403, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232e000
read(15, "/dev/sda1 / ext4 rw,errors=remou"..., 4096) = 403
read(15, "", 4096)                      = 0
close(15)                               = 0
munmap(0x7fb6c232e000, 4096)            = 0
access("/cgroup/web", F_OK)             = -1 ENOENT (No such file or directory)
rename("/cgroup/1377", "/cgroup/web")   = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 15
setsockopt(15, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(15, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(15, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(15, {sa_family=AF_NETLINK, pid=1366, groups=00000000}, [12]) = 0
time(NULL)                              = 1294571904
sendmsg(15, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"(\0\0\0\20\0\5\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\0\0\0\0\0\0\0\0"..., 40}], msg_controllen=0, msg_flags=0}, 0) = 40
recvmsg(15, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"$\0\0\0\2\0\0\0\0\0\0\0V\5\0\0\0\0\0\0(\0\0\0\20\0\5\0\0\0\0\0"..., 40}], msg_controllen=0, msg_flags=0}, 0) = 36
close(15)                               = 0
write(16, "\1\0\0\0", 4)                = 4
read(16, lxc-start: Operation not permitted - failed to mount a new instance of '/dev/pts'
lxc-start: failed to setup the new pts instance
lxc-start: failed to setup the container
"\1\0\0\0", 4)                 = 4
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "invalid sequence number 1. expec"..., 37invalid sequence number 1. expected 2) = 37
write(2, "\n", 1
)                       = 1
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "failed to spawn 'web'", 21failed to spawn 'web')   = 21
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7fb6c19bf1e0}, NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7fb6c19bf1e0}, NULL, 8) = 0
open("/etc/mtab", O_RDONLY)             = 15
fstat(15, {st_mode=S_IFREG|0644, st_size=403, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb6c232e000
read(15, "/dev/sda1 / ext4 rw,errors=remou"..., 4096) = 403
read(15, "", 4096)                      = 0
close(15)                               = 0
munmap(0x7fb6c232e000, 4096)            = 0
rmdir("/cgroup/web")                    = -1 EBUSY (Device or resource busy)
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "Device or resource busy - failed"..., 63Device or resource busy - failed to remove cgroup '/cgroup/web') = 63
write(2, "\n", 1
)                       = 1
socket(PF_FILE, SOCK_DGRAM, 0)          = 15
sendto(15, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(15)                               = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 15
sendto(15, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(15)                               = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(13, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
close(11)                               = 0
close(12)                               = 0
close(3)                                = 0
close(4)                                = 0
close(5)                                = 0
close(6)                                = 0
close(7)                                = 0
close(8)                                = 0
close(9)                                = 0
close(10)                               = 0
exit_group(-1)                          = ?

-------------- next part --------------
execve("/usr/bin/lxc-start", ["lxc-start", "-n", "web"], [/* 13 vars */]) = 0
brk(0)                                  = 0x601e88
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d466d000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/tls/x86_64/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/tls/x86_64", 0x7fffbae4f300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/tls/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/tls", 0x7fffbae4f300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/x86_64/liblxc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/lib/lxc/x86_64", 0x7fffbae4f300) = -1 ENOENT (No such file or directory)
open("/usr/lib/lxc/liblxc.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pv\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=136608, ...}) = 0
mmap(NULL, 2236256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f65d4230000
mprotect(0x7f65d4250000, 2093056, PROT_NONE) = 0
mmap(0x7f65d444f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x7f65d444f000
mmap(0x7f65d4451000, 3936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f65d4451000
close(3)                                = 0
open("/usr/lib/lxc/libcap.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f65d4669000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libcap.so.2", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=16640, ...}) = 0
mmap(NULL, 2111936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f65d402c000
mprotect(0x7f65d4030000, 2093056, PROT_NONE) = 0
mmap(0x7f65d422f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f65d422f000
close(3)                                = 0
open("/usr/lib/lxc/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\355\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1432968, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d4668000
mmap(NULL, 3541032, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f65d3ccb000
mprotect(0x7f65d3e23000, 2093056, PROT_NONE) = 0
mmap(0x7f65d4022000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x157000) = 0x7f65d4022000
mmap(0x7f65d4027000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f65d4027000
close(3)                                = 0
open("/usr/lib/lxc/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10648, ...}) = 0
mmap(NULL, 2105608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f65d3ac8000
mprotect(0x7f65d3aca000, 2093056, PROT_NONE) = 0
mmap(0x7f65d3cc9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x7f65d3cc9000
close(3)                                = 0
open("/usr/lib/lxc/libattr.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libattr.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\24\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=17608, ...}) = 0
mmap(NULL, 2112752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f65d38c4000
mprotect(0x7f65d38c8000, 2093056, PROT_NONE) = 0
mmap(0x7f65d3ac7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f65d3ac7000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d4667000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d4666000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d4665000
arch_prctl(ARCH_SET_FS, 0x7f65d4666700) = 0
mprotect(0x7f65d3cc9000, 4096, PROT_READ) = 0
mprotect(0x7f65d4022000, 16384, PROT_READ) = 0
mprotect(0x7f65d466f000, 4096, PROT_READ) = 0
munmap(0x7f65d4669000, 12458)           = 0
getuid()                                = 0
getgid()                                = 0
geteuid()                               = 0
brk(0)                                  = 0x601e88
brk(0x622e88)                           = 0x622e88
brk(0x623000)                           = 0x623000
access("/var/lib/lxc/web/config", F_OK) = 0
open("/var/lib/lxc/web/config", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=986, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d466c000
read(3, "lxc.tty = 4\nlxc.pts = 1024\nlxc.r"..., 4096) = 986
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f65d466c000, 4096)            = 0
open("/proc/self/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
fcntl(3, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 6 entries */, 32768)     = 144
getdents(3, /* 0 entries */, 32768)     = 0
close(3)                                = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
sendto(3, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(3)                                = 0
open("/dev/ptmx", O_RDWR)               = 3
statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TIOCGPTN, [1])                 = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
getuid()                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 4
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d466c000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 475
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x7f65d466c000, 4096)            = 0
open("/usr/lib/lxc/libnss_compat.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f65d4669000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\23\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=31616, ...}) = 0
mmap(NULL, 2127088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f65d36bc000
mprotect(0x7f65d36c3000, 2093056, PROT_NONE) = 0
mmap(0x7f65d38c2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6000) = 0x7f65d38c2000
close(4)                                = 0
open("/usr/lib/lxc/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300@\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=89064, ...}) = 0
mmap(NULL, 2194128, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f65d34a4000
mprotect(0x7f65d34b9000, 2093056, PROT_NONE) = 0
mmap(0x7f65d36b8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x14000) = 0x7f65d36b8000
mmap(0x7f65d36ba000, 6864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f65d36ba000
close(4)                                = 0
mprotect(0x7f65d36b8000, 4096, PROT_READ) = 0
mprotect(0x7f65d38c2000, 4096, PROT_READ) = 0
munmap(0x7f65d4669000, 12458)           = 0
open("/usr/lib/lxc/libnss_nis.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=12458, ...}) = 0
mmap(NULL, 12458, PROT_READ, MAP_PRIVATE, 4, 0) = 0x7f65d4669000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_nis.so.2", O_RDONLY)  = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0  \0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=43552, ...}) = 0
mmap(NULL, 2139320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f65d3299000
mprotect(0x7f65d32a3000, 2093056, PROT_NONE) = 0
mmap(0x7f65d34a2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x7f65d34a2000
close(4)                                = 0
open("/usr/lib/lxc/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p!\0\0\0\0\0\0"..., 832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=47616, ...}) = 0
mmap(NULL, 2143624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0x7f65d308d000
mprotect(0x7f65d3098000, 2093056, PROT_NONE) = 0
mmap(0x7f65d3297000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0xa000) = 0x7f65d3297000
close(4)                                = 0
mprotect(0x7f65d3297000, 4096, PROT_READ) = 0
mprotect(0x7f65d34a2000, 4096, PROT_READ) = 0
munmap(0x7f65d4669000, 12458)           = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 4
fcntl(4, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
lseek(4, 0, SEEK_CUR)                   = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 4, 0) = 0x7f65d466c000
lseek(4, 622, SEEK_SET)                 = 622
munmap(0x7f65d466c000, 622)             = 0
close(4)                                = 0
ioctl(3, TIOCSPTLCK, [0])               = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TIOCGPTN, [1])                 = 0
stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
open("/dev/pts/1", O_RDWR|O_NOCTTY)     = 4
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(5, TIOCGPTN, [2])                 = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 6
lseek(6, 0, SEEK_CUR)                   = 0
fstat(6, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 6, 0) = 0x7f65d466c000
lseek(6, 622, SEEK_SET)                 = 622
munmap(0x7f65d466c000, 622)             = 0
close(6)                                = 0
ioctl(5, TIOCSPTLCK, [0])               = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(5, TIOCGPTN, [2])                 = 0
stat("/dev/pts/2", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
open("/dev/pts/2", O_RDWR|O_NOCTTY)     = 6
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 7
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, TIOCGPTN, [3])                 = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 8
lseek(8, 0, SEEK_CUR)                   = 0
fstat(8, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 8, 0) = 0x7f65d466c000
lseek(8, 622, SEEK_SET)                 = 622
munmap(0x7f65d466c000, 622)             = 0
close(8)                                = 0
ioctl(7, TIOCSPTLCK, [0])               = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(7, TIOCGPTN, [3])                 = 0
stat("/dev/pts/3", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
open("/dev/pts/3", O_RDWR|O_NOCTTY)     = 8
fcntl(7, F_SETFD, FD_CLOEXEC)           = 0
fcntl(8, F_SETFD, FD_CLOEXEC)           = 0
open("/dev/ptmx", O_RDWR)               = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [4])                 = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 10
lseek(10, 0, SEEK_CUR)                  = 0
fstat(10, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 10, 0) = 0x7f65d466c000
lseek(10, 622, SEEK_SET)                = 622
munmap(0x7f65d466c000, 622)             = 0
close(10)                               = 0
ioctl(9, TIOCSPTLCK, [0])               = 0
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [4])                 = 0
stat("/dev/pts/4", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 4), ...}) = 0
open("/dev/pts/4", O_RDWR|O_NOCTTY)     = 10
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0
fcntl(10, F_SETFD, FD_CLOEXEC)          = 0
access("/dev/tty", F_OK)                = 0
open("/dev/tty", O_RDWR)                = 11
close(11)                               = 0
open("/dev/ptmx", O_RDWR)               = 11
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TIOCGPTN, [5])                = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
getuid()                                = 0
open("/etc/group", O_RDONLY|O_CLOEXEC)  = 12
lseek(12, 0, SEEK_CUR)                  = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=622, ...}) = 0
mmap(NULL, 622, PROT_READ, MAP_SHARED, 12, 0) = 0x7f65d466c000
lseek(12, 622, SEEK_SET)                = 622
munmap(0x7f65d466c000, 622)             = 0
close(12)                               = 0
ioctl(11, TIOCSPTLCK, [0])              = 0
ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TIOCGPTN, [5])                = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
open("/dev/pts/5", O_RDWR|O_NOCTTY)     = 12
fcntl(11, F_SETFD, FD_CLOEXEC)          = 0
fcntl(12, F_SETFD, FD_CLOEXEC)          = 0
capget(0x20080522, 0, NULL)             = 0
capget(0x20080522, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
capset(0x20080522, 0, {0, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
open("/dev/tty", O_RDWR|O_CREAT|O_APPEND|O_CLOEXEC, 0600) = 13
capget(0x20080522, 0, NULL)             = 0
capget(0x20080522, 0, {0, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
capset(0x20080522, 0, {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP, 0}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
rt_sigprocmask(SIG_BLOCK, ~[ILL BUS SEGV RTMIN RT_1], [], 8) = 0
signalfd4(-1, ~[ILL BUS SEGV RTMIN RT_1], 8, 0) = 14
fcntl(14, F_SETFD, FD_CLOEXEC)          = 0
socketpair(PF_FILE, SOCK_STREAM, 0, [15, 16]) = 0
fcntl(15, F_SETFD, FD_CLOEXEC)          = 0
getpid()                                = 1203
lstat("vethde3FDA", 0x7fffbae4f7f0)     = -1 ENOENT (No such file or directory)
lstat("vethelGBjP", 0x7fffbae4f7f0)     = -1 ENOENT (No such file or directory)
socket(PF_NETLINK, SOCK_RAW, 0)         = 17
setsockopt(17, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(17, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
bind(17, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(17, {sa_family=AF_NETLINK, pid=1203, groups=00000000}, [12]) = 0
time(NULL)                              = 1294572182
sendmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"h\0\0\0\20\0\5\6\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 104}], msg_controllen=0, msg_flags=0}, 0) = 104
recvmsg(17, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"|\0\0\0\2\0\0\0\0\0\0\0\263\4\0\0\377\377\377\377h\0\0\0\20\0\5\6\0\0\0\0"..., 8192}], msg_controllen=0, msg_flags=0}, 0) = 124
close(17)                               = 0
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "failed to create vethde3FDA-veth"..., 64failed to create vethde3FDA-vethelGBjP : Operation not permitted) = 64
write(2, "\n", 1
)                       = 1
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "failed to create netdev", 23failed to create netdev) = 23
write(2, "\n", 1
)                       = 1
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "failed to create the network", 28failed to create the network) = 28
write(2, "\n", 1
)                       = 1
close(15)                               = 0
close(16)                               = 0
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "failed to spawn 'web'", 21failed to spawn 'web')   = 21
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGQUIT, {SIG_DFL, [], SA_RESTORER, 0x7f65d3cfd1e0}, NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f65d3cfd1e0}, NULL, 8) = 0
open("/etc/mtab", O_RDONLY)             = 15
fstat(15, {st_mode=S_IFREG|0644, st_size=403, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f65d466c000
read(15, "/dev/sda1 / ext4 rw,errors=remou"..., 4096) = 403
read(15, "", 4096)                      = 0
close(15)                               = 0
munmap(0x7f65d466c000, 4096)            = 0
rmdir("/cgroup/web")                    = -1 ENOENT (No such file or directory)
write(2, "lxc-start: ", 11lxc-start: )             = 11
write(2, "No such file or directory - fail"..., 65No such file or directory - failed to remove cgroup '/cgroup/web') = 65
write(2, "\n", 1
)                       = 1
socket(PF_FILE, SOCK_DGRAM, 0)          = 15
sendto(15, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(15)                               = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 15
sendto(15, "\0\0\0\0web\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4104, 0, {sa_family=AF_FILE, path=@"lxc-monitor"}, 110) = -1 ECONNREFUSED (Connection refused)
close(15)                               = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost -isig -icanon -echo ...}) = 0
ioctl(13, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon echo ...}) = 0
ioctl(13, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
close(11)                               = 0
close(12)                               = 0
close(3)                                = 0
close(4)                                = 0
close(5)                                = 0
close(6)                                = 0
close(7)                                = 0
close(8)                                = 0
close(9)                                = 0
close(10)                               = 0
exit_group(-1)                          = ?


More information about the lxc-users mailing list