[lxc-users] Problem with running unprivileged lxc containers with lxcbr1 (as opposed to lxcbr0)

Adam Ryczkowski adam.ryczkowski at statystyka.net
Thu Jan 29 13:39:17 UTC 2015


What is so special with lxcbr0?
I have problems with running unprivileged lxc containers on other 
network interface than lxcbr0.

/etc/lxc/lxc-usernet:

# USERNAME TYPE BRIDGE COUNT
# File is managed by Puppet
alxc veth lxcbr1 10
blxc veth lxcbr0 10
clxc veth lxcbr2 10

Only containers for user `alxc` which use lxcbr0 are able to run. If I 
assign lxcbr0 to e.g. blxc, then blxc can work.

I use vanilla Ubuntu 14.04 64bit, installed lxc with "apt-get install lxc".

After `alxc at vam:~$ lxc-start -n adasik  --logfile lxc.log --logpriority 
trace`

lxc.log:

       lxc-start 1422538264.345 INFO     lxc_start_ui - 
lxc_start.c:main:265 - using rcfile 
/home/alxc/.local/share/lxc/adasik/config
       lxc-start 1422538264.346 INFO     lxc_confile - 
confile.c:config_idmap:1325 - read uid map: type u nsid 0 hostid 296608 
range 65536
       lxc-start 1422538264.346 INFO     lxc_confile - 
confile.c:config_idmap:1325 - read uid map: type g nsid 0 hostid 296608 
range 65536
       lxc-start 1422538264.346 WARN     lxc_log - 
log.c:lxc_log_init:316 - lxc_log_init called with log already initialized
       lxc-start 1422538264.347 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:954 - do_cgm_get exited with error
       lxc-start 1422538264.347 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 
- LSM security driver AppArmor
       lxc-start 1422538264.348 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/15' (5/6)
       lxc-start 1422538264.348 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/16' (7/8)
       lxc-start 1422538264.348 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/17' (9/10)
       lxc-start 1422538264.348 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/18' (11/12)
       lxc-start 1422538264.348 INFO     lxc_conf - 
conf.c:lxc_create_tty:3676 - tty's configured
       lxc-start 1422538264.348 DEBUG    lxc_start - 
start.c:setup_signal_fd:247 - sigchild handler set
       lxc-start 1422538264.348 DEBUG    lxc_console - 
console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
       lxc-start 1422538264.348 DEBUG    lxc_console - 
console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
       lxc-start 1422538264.348 DEBUG    lxc_console - 
console.c:lxc_console_sigwinch_init:179 - 23869 got SIGWINCH fd 17
       lxc-start 1422538264.348 DEBUG    lxc_console - 
console.c:lxc_console_winsz:88 - set winsz dstfd:14 cols:213 rows:58
       lxc-start 1422538264.394 INFO     lxc_start - 
start.c:lxc_init:443 - 'adasik' is initialized
       lxc-start 1422538264.395 DEBUG    lxc_start - 
start.c:__lxc_start:1058 - Not dropping cap_sys_boot or watching utmp
       lxc-start 1422538264.395 INFO     lxc_start - 
start.c:lxc_spawn:802 - Cloning a new user namespace
       lxc-start 1422538264.395 INFO     lxc_cgroup - 
cgroup.c:cgroup_init:62 - cgroup driver cgmanager initing for adasik
       lxc-start 1422538264.441 ERROR    lxc_start - 
start.c:lxc_spawn:927 - failed to create the configured network
       lxc-start 1422538264.445 ERROR    lxc_start - 
start.c:__lxc_start:1080 - failed to spawn 'adasik'
       lxc-start 1422538264.451 ERROR    lxc_start_ui - 
lxc_start.c:main:342 - The container failed to start.
       lxc-start 1422538264.454 ERROR    lxc_start_ui - 
lxc_start.c:main:346 - Additional information can be obtained by setting 
the --logfile and --logpriority options.


/home/alxc/.local/share/lxc/adasik/config:
# Template used to create this container: 
/usr/share/lxc/templates/lxc-download
# Parameters passed to the template: -d ubuntu -r trusty -a amd64
# For additional config options, please look at lxc.container.conf(5)

# Distribution configuration
lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
lxc.arch = x86_64

# Container specific configuration
lxc.rootfs = /home/alxc/.local/share/lxc/adasik/rootfs
lxc.utsname = adasik.vam.statystyka.net

# Network configuration
lxc.network.type = veth
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:xx:xx:xx
lxc.network.link = lxcbr1
lxc.include = /home/alxc/.config/lxc/default.conf


/home/alxc/.config/lxc/default.conf:
lxc.include = /etc/lxc/default.conf
lxc.id_map = u 0 296608 65536
lxc.id_map = g 0 296608 65536


/etc/lxc/default is empty.

The distribution-specific file /usr/share/lxc/config/ubuntu.common.conf:
# Default pivot location
lxc.pivotdir = lxc_putold

# Default mount entries
lxc.mount.entry = proc proc proc nodev,noexec,nosuid 0 0
lxc.mount.entry = sysfs sys sysfs defaults 0 0
lxc.mount.entry = /sys/fs/fuse/connections sys/fs/fuse/connections none 
bind,optional 0 0
lxc.mount.entry = /sys/kernel/debug sys/kernel/debug none bind,optional 0 0
lxc.mount.entry = /sys/kernel/security sys/kernel/security none 
bind,optional 0 0
lxc.mount.entry = /sys/fs/pstore sys/fs/pstore none bind,optional 0 0

# Default console settings
lxc.devttydir = lxc
lxc.tty = 4
lxc.pts = 1024

# Default capabilities
lxc.cap.drop = sys_module mac_admin mac_override sys_time

# When using LXC with apparmor, the container will be confined by default.
# If you wish for it to instead run unconfined, copy the following line
# (uncommented) to the container's configuration file.
#lxc.aa_profile = unconfined

# To support container nesting on an Ubuntu host while retaining most of
# apparmor's added security, use the following two lines instead.
#lxc.aa_profile = lxc-container-default-with-nesting
#lxc.mount.auto = cgroup:mixed

# Uncomment the following line to autodetect squid-deb-proxy 
configuration on the
# host and forward it to the guest at start time.
#lxc.hook.pre-start = /usr/share/lxc/hooks/squid-deb-proxy-client

# If you wish to allow mounting block filesystems, then use the following
# line instead, and make sure to grant access to the block device and/or 
loop
# devices below in lxc.cgroup.devices.allow.
#lxc.aa_profile = lxc-container-default-with-mounting

# Default cgroup limits
lxc.cgroup.devices.deny = a
## Allow any mknod (but not using the node)
lxc.cgroup.devices.allow = c *:* m
lxc.cgroup.devices.allow = b *:* m
## /dev/null and zero
lxc.cgroup.devices.allow = c 1:3 rwm
lxc.cgroup.devices.allow = c 1:5 rwm
## consoles
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 5:1 rwm
## /dev/{,u}random
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 1:9 rwm
## /dev/pts/*
lxc.cgroup.devices.allow = c 5:2 rwm
lxc.cgroup.devices.allow = c 136:* rwm
## rtc
lxc.cgroup.devices.allow = c 254:0 rm
## fuse
lxc.cgroup.devices.allow = c 10:229 rwm
## tun
lxc.cgroup.devices.allow = c 10:200 rwm
## full
lxc.cgroup.devices.allow = c 1:7 rwm
## hpet
lxc.cgroup.devices.allow = c 10:228 rwm
## kvm
lxc.cgroup.devices.allow = c 10:232 rwm
## To use loop devices, copy the following line to the container's
## configuration file (uncommented).
#lxc.cgroup.devices.allow = b 7:* rwm

# Blacklist some syscalls which are not safe in privileged
# containers
lxc.seccomp = /usr/share/lxc/config/common.seccomp


/usr/share/lxc/config/ubuntu.userns.conf:
# CAP_SYS_ADMIN in init-user-ns is required for cgroup.devices
lxc.cgroup.devices.deny =
lxc.cgroup.devices.allow =

# We can't move bind-mounts, so don't use /dev/lxc/
lxc.devttydir =

# Extra bind-mounts for userns
lxc.mount.entry = /dev/console dev/console none bind,create=file 0 0
lxc.mount.entry = /dev/full dev/full none bind,create=file 0 0
lxc.mount.entry = /dev/null dev/null none bind,create=file 0 0
lxc.mount.entry = /dev/random dev/random none bind,create=file 0 0
lxc.mount.entry = /dev/tty dev/tty none bind,create=file 0 0
lxc.mount.entry = /dev/urandom dev/urandom none bind,create=file 0 0
lxc.mount.entry = /dev/zero dev/zero none bind,create=file 0 0

# Extra fstab entries as mountall can't mount those by itself
lxc.mount.entry = /sys/firmware/efi/efivars sys/firmware/efi/efivars 
none bind,optional 0 0
lxc.mount.entry = /proc/sys/fs/binfmt_misc proc/sys/fs/binfmt_misc none 
bind,optional 0 0

# Default seccomp policy is not needed for unprivileged containers, and
# non-root users cannot use seccmp without NNP anyway.
lxc.seccomp =



When I re-assign lxcbr0 to alxc, then executing `alxc at vam:~$ lxc-start 
-n adasik  --logfile lxc.log --logpriority trace` succeeds


       lxc-start 1422538540.017 INFO     lxc_start_ui - 
lxc_start.c:main:265 - using rcfile 
/home/alxc/.local/share/lxc/adasik/config
       lxc-start 1422538540.018 INFO     lxc_confile - 
confile.c:config_idmap:1325 - read uid map: type u nsid 0 hostid 296608 
range 65536
       lxc-start 1422538540.018 INFO     lxc_confile - 
confile.c:config_idmap:1325 - read uid map: type g nsid 0 hostid 296608 
range 65536
       lxc-start 1422538540.018 WARN     lxc_log - 
log.c:lxc_log_init:316 - lxc_log_init called with log already initialized
       lxc-start 1422538540.019 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:954 - do_cgm_get exited with error
       lxc-start 1422538540.019 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 
- LSM security driver AppArmor
       lxc-start 1422538540.020 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/15' (5/6)
       lxc-start 1422538540.020 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/16' (7/8)
       lxc-start 1422538540.020 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/17' (9/10)
       lxc-start 1422538540.020 DEBUG    lxc_conf - 
conf.c:lxc_create_tty:3665 - allocated pty '/dev/pts/18' (11/12)
       lxc-start 1422538540.020 INFO     lxc_conf - 
conf.c:lxc_create_tty:3676 - tty's configured
       lxc-start 1422538540.020 DEBUG    lxc_start - 
start.c:setup_signal_fd:247 - sigchild handler set
       lxc-start 1422538540.020 DEBUG    lxc_console - 
console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
       lxc-start 1422538540.020 DEBUG    lxc_console - 
console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
       lxc-start 1422538540.020 DEBUG    lxc_console - 
console.c:lxc_console_sigwinch_init:179 - 24101 got SIGWINCH fd 17
       lxc-start 1422538540.020 DEBUG    lxc_console - 
console.c:lxc_console_winsz:88 - set winsz dstfd:14 cols:213 rows:58
       lxc-start 1422538540.064 INFO     lxc_start - 
start.c:lxc_init:443 - 'adasik' is initialized
       lxc-start 1422538540.064 DEBUG    lxc_start - 
start.c:__lxc_start:1058 - Not dropping cap_sys_boot or watching utmp
       lxc-start 1422538540.064 INFO     lxc_start - 
start.c:lxc_spawn:802 - Cloning a new user namespace
       lxc-start 1422538540.064 INFO     lxc_cgroup - 
cgroup.c:cgroup_init:62 - cgroup driver cgmanager initing for adasik
       lxc-start 1422538540.123 NOTICE   lxc_start - 
start.c:do_start:656 - switching to gid/uid 0 in new user namespace
       lxc-start 1422538540.124 DEBUG    lxc_conf - 
conf.c:setup_rootfs:1611 - mounted 
'/home/alxc/.local/share/lxc/adasik/rootfs' on 
'/usr/lib/x86_64-linux-gnu/lxc'
       lxc-start 1422538540.124 INFO     lxc_conf - 
conf.c:setup_utsname:900 - 'adasik.vam.statystyka.net' hostname has been 
setup
       lxc-start 1422538540.125 DEBUG    lxc_conf - 
conf.c:setup_hw_addr:2557 - mac address '00:16:3e:20:41:d0' on 'eth0' 
has been setup
       lxc-start 1422538540.126 DEBUG    lxc_conf - 
conf.c:setup_netdev:2784 - 'eth0' has been setup
       lxc-start 1422538540.126 DEBUG    lxc_conf - 
conf.c:setup_hw_addr:2557 - mac address '00:16:3e:8c:b5:d6' on 'eth1' 
has been setup
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:setup_netdev:2784 - 'eth1' has been setup
       lxc-start 1422538540.127 INFO     lxc_conf - 
conf.c:setup_network:2805 - network has been setup
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:check_autodev:3906 - Set exec command to /sbin/init
       lxc-start 1422538540.127 INFO     lxc_conf - 
conf.c:check_autodev:3944 - Autodev not required.
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted 'proc' on 
'/usr/lib/x86_64-linux-gnu/lxc/proc', type 'proc'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted 'sysfs' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys', type 'sysfs'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /sys/fs/fuse/connections on 
/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections to respect bind or 
remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for 
/sys/fs/fuse/connections was 4096, required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/sys/fs/fuse/connections' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/fuse/connections', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /sys/kernel/debug on 
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug to respect bind or 
remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /sys/kernel/debug was 
4096, required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/sys/kernel/debug' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/debug', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /sys/kernel/security on 
/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security to respect bind or 
remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /sys/kernel/security 
was 4096, required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/sys/kernel/security' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/kernel/security', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /sys/fs/pstore on 
/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore to respect bind or remount 
options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /sys/fs/pstore was 
4096, required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/sys/fs/pstore' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/fs/pstore', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/console on 
/usr/lib/x86_64-linux-gnu/lxc/dev/console to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/console was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/console' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/console', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/full on 
/usr/lib/x86_64-linux-gnu/lxc/dev/full to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/full was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/full' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/full', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/null on 
/usr/lib/x86_64-linux-gnu/lxc/dev/null to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/null was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/null' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/null', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/random on 
/usr/lib/x86_64-linux-gnu/lxc/dev/random to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/random was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/random' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/random', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/tty on 
/usr/lib/x86_64-linux-gnu/lxc/dev/tty to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/tty was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/tty' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/tty', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/urandom on 
/usr/lib/x86_64-linux-gnu/lxc/dev/urandom to respect bind or remount options
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/urandom was 4096, 
required extra flags are 0
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/urandom' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/urandom', type 'none'
       lxc-start 1422538540.127 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /dev/zero on 
/usr/lib/x86_64-linux-gnu/lxc/dev/zero to respect bind or remount options
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for /dev/zero was 4096, 
required extra flags are 0
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2080 - mountflags already was 4096, skipping remount
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/dev/zero' on 
'/usr/lib/x86_64-linux-gnu/lxc/dev/zero', type 'none'
       lxc-start 1422538540.128 INFO     lxc_conf - 
conf.c:mount_entry:2045 - failed to mount '/sys/firmware/efi/efivars' on 
'/usr/lib/x86_64-linux-gnu/lxc/sys/firmware/efi/efivars' (optional): No 
such file or directory
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2056 - remounting /proc/sys/fs/binfmt_misc on 
/usr/lib/x86_64-linux-gnu/lxc/proc/sys/fs/binfmt_misc to respect bind or 
remount options
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2071 - (at remount) flags for 
/proc/sys/fs/binfmt_misc was 4110, required extra flags are 14
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:mount_entry:2106 - mounted '/proc/sys/fs/binfmt_misc' on 
'/usr/lib/x86_64-linux-gnu/lxc/proc/sys/fs/binfmt_misc', type 'none'
       lxc-start 1422538540.128 INFO     lxc_conf - 
conf.c:mount_file_entries:2355 - mount points have been setup
       lxc-start 1422538540.128 INFO     lxc_conf - 
conf.c:setup_dev_console:1836 - console has been setup
       lxc-start 1422538540.128 INFO     lxc_conf - 
conf.c:setup_tty:1027 - 4 tty(s) has been setup
       lxc-start 1422538540.128 INFO     lxc_conf - 
conf.c:do_tmp_proc_mount:3970 - I am 1, /proc/self points to '1'
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:setup_rootfs_pivot_root:1197 - created 
'/usr/lib/x86_64-linux-gnu/lxc/lxc_putold' directory
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:setup_rootfs_pivot_root:1200 - mountpoint for old rootfs is 
'/usr/lib/x86_64-linux-gnu/lxc/lxc_putold'
       lxc-start 1422538540.128 DEBUG    lxc_conf - 
conf.c:setup_rootfs_pivot_root:1213 - pivot_root syscall to 
'/usr/lib/x86_64-linux-gnu/lxc' successful
       lxc-start 1422538540.129 INFO     lxc_conf - 
conf.c:umount_oldrootfs:1151 - lazy unmount of '/lxc_putold'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/dev'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/dev/pts'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/run'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/run/lock'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/run/shm'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/run/user'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/sys'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/sys/fs/cgroup'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/cpuset'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/cpu'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/cpuacct'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/memory'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/devices'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/freezer'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/blkio'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/perf_event'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/hugetlb'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/cgroup/systemd'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/fs/fuse/connections'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/kernel/debug'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount 
'/lxc_putold/sys/kernel/security'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/sys/fs/pstore'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/proc'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/home'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/home/zosia'
       lxc-start 1422538540.129 WARN     lxc_conf - 
conf.c:umount_oldrootfs:1161 - failed to unmount '/lxc_putold/boot'
       lxc-start 1422538540.129 INFO     lxc_conf - 
conf.c:setup_personality:1791 - set personality to '0x0'
       lxc-start 1422538540.129 NOTICE   lxc_conf - 
conf.c:lxc_setup:4253 - 'adasik' is setup.
       lxc-start 1422538540.129 INFO     lxc_apparmor - 
lsm/apparmor.c:apparmor_process_label_set:157 - changed apparmor profile 
to lxc-container-default
       lxc-start 1422538540.129 NOTICE   lxc_start - start.c:start:1152 
- exec'ing '/sbin/init'
       lxc-start 1422538540.132 NOTICE   lxc_start - 
start.c:post_start:1163 - '/sbin/init' started with pid '24135'
       lxc-start 1422538540.132 WARN     lxc_start - 
start.c:signal_handler:295 - invalid pid for SIGCHLD
       lxc-start 1422538546.194 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.194 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.196 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.196 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.198 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.198 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.211 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.211 DEBUG    lxc_commands - 
commands.c:lxc_cmd_handler:888 - peer has disconnected
       lxc-start 1422538546.815 DEBUG    lxc_start - 
start.c:signal_handler:299 - container init process exited
       lxc-start 1422538546.815 DEBUG    lxc_start - 
start.c:__lxc_start:1106 - Container halting
       lxc-start 1422538546.830 INFO     lxc_error - 
error.c:lxc_error_set_and_log:55 - child <24135> ended on signal (2)





-- 

Adam Ryczkowski
+48505919892 <callto:+48505919892>
Skype:sisteczko <skype:sisteczko>



More information about the lxc-users mailing list