[Lxc-users] Container sends login prompt to the system console

Benoit Lourdelet blourdel at juniper.net
Thu Dec 6 11:35:30 UTC 2012


Hello,

On fedora 18 Linux localhost.localdomain 3.6.7-5.fc18.x86_64 #1 SMP Tue
Nov 20 19:40:08 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
LXC version 0.8.0

After creating a container with lxc-fedora:

lxc.utsname = test1-18
lxc.tty = 4
lxc.pts = 1024
lxc.rootfs = /var/lib/lxc/test1-18/rootfs
lxc.mount  = /var/lib/lxc/test1-18/fstab

# When using LXC with apparmor, uncomment the next line to run unconfined:
#lxc.aa_profile = unconfined

#cgroups
lxc.cgroup.devices.deny = a
# /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:1 rwm
lxc.cgroup.devices.allow = c 5:0 rwm
lxc.cgroup.devices.allow = c 4:0 rwm
lxc.cgroup.devices.allow = c 4:1 rwm
# /dev/{,u}random
lxc.cgroup.devices.allow = c 1:9 rwm
lxc.cgroup.devices.allow = c 1:8 rwm
lxc.cgroup.devices.allow = c 136:* rwm
lxc.cgroup.devices.allow = c 5:2 rwm
# rtc
lxc.cgroup.devices.allow = c 254:0 rwm



The container starts but always sends the prompt to the system console.

[root at localhost test1-18]# /usr/local/bin/lxc-info -n test1-18
state:   RUNNING
pid:     16713



Trying to access the console, does not give a prompt :


/usr/local/bin/lxc-console -n test1-18

Type <Ctrl+a q> to exit the console, <Ctrl+a Ctrl+a> to enter Ctrl+a itself




Log file is as follow :

    lxc-start 1354793173.737 INFO     lxc_apparmor - apparmor_load -
apparmor is disabled
      lxc-start 1354793173.738 DEBUG    lxc_conf - allocated pty
'/dev/pts/4' (4/5)
      lxc-start 1354793173.738 DEBUG    lxc_conf - allocated pty
'/dev/pts/5' (6/7)
      lxc-start 1354793173.738 DEBUG    lxc_conf - allocated pty
'/dev/pts/6' (8/9)
      lxc-start 1354793173.738 DEBUG    lxc_conf - allocated pty
'/dev/pts/7' (10/11)
      lxc-start 1354793173.738 INFO     lxc_conf - tty's configured
      lxc-start 1354793173.739 DEBUG    lxc_console - using '/dev/tty' as
console
      lxc-start 1354793173.739 DEBUG    lxc_start - sigchild handler set
      lxc-start 1354793173.739 INFO     lxc_start - 'test1-18' is
initialized
      lxc-start 1354793173.751 DEBUG    lxc_start - Not dropping
cap_sys_boot or watching utmp

      lxc-start 1354793173.751 INFO     lxc_conf - opened
/var/lib/lxc/test1-18/rootfs.hold as fd 18

      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking '/' (rootfs)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking '/proc'
(proc)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking '/sys'
(sysfs)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking '/dev'
(devtmpfs)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking
'/sys/kernel/security' (securityfs)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking
'/sys/fs/selinux' (selinuxfs)
      lxc-start 1354793173.751 DEBUG    lxc_cgroup - checking '/dev/shm'
(tmpfs)
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - checking '/dev/pts'
(devpts)
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - checking '/run'
(tmpfs)
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup' (tmpfs)
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/systemd' (cgroup)
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/cpuset' (cgroup)
      lxc-start 1354793173.752 INFO     lxc_cgroup - [1] found cgroup
mounted at 
'/sys/fs/cgroup/cpuset',opts='rw,nosuid,nodev,noexec,relatime,cpuset,clone_
children'
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.752 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/cpuset has flags 0x2
      lxc-start 1354793173.752 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/cpuset//lxc/test1-18'
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/cpuset has flags 0x2
      lxc-start 1354793173.752 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.765 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/cpu,cpuacct' (cgroup)
      lxc-start 1354793173.765 INFO     lxc_cgroup - [2] found cgroup
mounted at 
'/sys/fs/cgroup/cpu,cpuacct',opts='rw,nosuid,nodev,noexec,relatime,cpuacct,
cpu,clone_children'
      lxc-start 1354793173.765 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.765 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/cpu,cpuacct has flags 0x2
      lxc-start 1354793173.765 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/cpu,cpuacct//lxc/test1-18'
      lxc-start 1354793173.765 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/cpu,cpuacct has flags 0x2
      lxc-start 1354793173.765 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.775 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/memory' (cgroup)
      lxc-start 1354793173.775 INFO     lxc_cgroup - [3] found cgroup
mounted at 
'/sys/fs/cgroup/memory',opts='rw,nosuid,nodev,noexec,relatime,memory,clone_
children'
      lxc-start 1354793173.775 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.775 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/memory has flags 0x2
      lxc-start 1354793173.775 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/memory//lxc/test1-18'
      lxc-start 1354793173.775 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/memory has flags 0x2
      lxc-start 1354793173.775 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.783 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/devices' (cgroup)
      lxc-start 1354793173.783 INFO     lxc_cgroup - [4] found cgroup
mounted at 
'/sys/fs/cgroup/devices',opts='rw,nosuid,nodev,noexec,relatime,devices,clon
e_children'
      lxc-start 1354793173.783 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.783 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.783 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/devices//lxc/test1-18'
      lxc-start 1354793173.783 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.783 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.788 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/freezer' (cgroup)
      lxc-start 1354793173.788 INFO     lxc_cgroup - [5] found cgroup
mounted at 
'/sys/fs/cgroup/freezer',opts='rw,nosuid,nodev,noexec,relatime,freezer,clon
e_children'
      lxc-start 1354793173.788 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.788 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/freezer has flags 0x2
      lxc-start 1354793173.788 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/freezer//lxc/test1-18'
      lxc-start 1354793173.788 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/freezer has flags 0x2
      lxc-start 1354793173.788 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.793 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/net_cls' (cgroup)
      lxc-start 1354793173.793 INFO     lxc_cgroup - [6] found cgroup
mounted at 
'/sys/fs/cgroup/net_cls',opts='rw,nosuid,nodev,noexec,relatime,net_cls,clon
e_children'
      lxc-start 1354793173.793 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.793 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/net_cls has flags 0x2
      lxc-start 1354793173.793 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/net_cls//lxc/test1-18'
      lxc-start 1354793173.793 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/net_cls has flags 0x2
      lxc-start 1354793173.793 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.798 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/blkio' (cgroup)
      lxc-start 1354793173.798 INFO     lxc_cgroup - [7] found cgroup
mounted at 
'/sys/fs/cgroup/blkio',opts='rw,nosuid,nodev,noexec,relatime,blkio,clone_ch
ildren'
      lxc-start 1354793173.798 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.798 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/blkio has flags 0x2
      lxc-start 1354793173.798 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/blkio//lxc/test1-18'
      lxc-start 1354793173.798 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/blkio has flags 0x2
      lxc-start 1354793173.798 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.803 DEBUG    lxc_cgroup - checking
'/sys/fs/cgroup/perf_event' (cgroup)
      lxc-start 1354793173.803 INFO     lxc_cgroup - [8] found cgroup
mounted at 
'/sys/fs/cgroup/perf_event',opts='rw,nosuid,nodev,noexec,relatime,perf_even
t,clone_children'
      lxc-start 1354793173.803 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.803 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/perf_event has flags 0x2
      lxc-start 1354793173.803 INFO     lxc_cgroup - created cgroup
'/sys/fs/cgroup/perf_event//lxc/test1-18'
      lxc-start 1354793173.803 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/perf_event has flags 0x2
      lxc-start 1354793173.803 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys (null) at /


      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/var/lib/nfs/rpc_pipefs' (rpc_pipefs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking '/' (ext4)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/proc/sys/fs/binfmt_misc' (autofs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/dev/mqueue' (mqueue)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/sys/kernel/debug' (debugfs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/dev/hugepages' (hugetlbfs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking '/tmp'
(tmpfs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/sys/kernel/config' (configfs)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking '/boot'
(ext4)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking '/home'
(ext4)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking '/boot/efi'
(vfat)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/sys/fs/fuse/connections' (fusectl)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/proc/sys/fs/binfmt_misc' (binfmt_misc)
      lxc-start 1354793173.808 DEBUG    lxc_cgroup - checking
'/run/user/1000/gvfs' (fuse.gvfsd-fuse)
      lxc-start 1354793173.808 INFO     lxc_conf - 'test1-18' hostname has
been setup
      lxc-start 1354793173.808 DEBUG    lxc_conf - mounted
'/var/lib/lxc/test1-18/rootfs' on '/usr/local/lib/lxc/rootfs'
      lxc-start 1354793173.808 DEBUG    lxc_conf - mounted 'proc' on
'/usr/local/lib/lxc/rootfs/proc', type 'proc'
      lxc-start 1354793173.808 DEBUG    lxc_conf - mounted 'sysfs' on
'/usr/local/lib/lxc/rootfs/sys', type 'sysfs'
      lxc-start 1354793173.808 INFO     lxc_conf - mount points have been
setup
      lxc-start 1354793173.809 INFO     lxc_conf - mount points have been
setup
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.809 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.809 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.deny
      lxc-start 1354793173.809 DEBUG    lxc_conf - cgroup 'devices.deny'
set to 'a'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.809 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.809 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.809 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 1:3 rwm'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.809 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.809 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.809 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 1:5 rwm'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.809 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.809 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.809 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 5:1 rwm'
      lxc-start 1354793173.809 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 5:0 rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 4:0 rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 4:1 rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 1:9 rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 1:8 rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 136:* rwm'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.810 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.810 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.810 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.810 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 5:2 rwm'
      lxc-start 1354793173.811 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name test1-18

      lxc-start 1354793173.811 DEBUG    lxc_cgroup - cgroup
/sys/fs/cgroup/devices has flags 0x2
      lxc-start 1354793173.811 DEBUG    lxc_cgroup - get_init_cgroup:
found init cgroup for subsys devices at /


      lxc-start 1354793173.811 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1354793173.811 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/test1-18 for subsystem devices.allow
      lxc-start 1354793173.811 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 254:0 rwm'
      lxc-start 1354793173.811 INFO     lxc_conf - cgroup has been setup
      lxc-start 1354793173.811 INFO     lxc_conf - console has been setup
      lxc-start 1354793173.811 INFO     lxc_conf - 4 tty(s) has been setup
      lxc-start 1354793173.811 DEBUG    lxc_conf - created
'/usr/local/lib/lxc/rootfs/lxc_putold' directory
      lxc-start 1354793173.811 DEBUG    lxc_conf - mountpoint for old
rootfs is '/usr/local/lib/lxc/rootfs/lxc_putold'
      lxc-start 1354793173.811 DEBUG    lxc_conf - pivot_root syscall to
'/usr/local/lib/lxc/rootfs' successful
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/dev/shm'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/dev/pts'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/dev/mqueue'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/dev/hugepages'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/proc/sys/fs/binfmt_misc'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/kernel/security'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/selinux'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/systemd'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/cpuset'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/cpu,cpuacct'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/memory'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/devices'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/freezer'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/net_cls'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/blkio'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup/perf_event'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/kernel/debug'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/kernel/config'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/fuse/connections'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/run/user/1000/gvfs'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/tmp'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/boot/efi'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/home'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/dev'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys/fs/cgroup'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/run'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/boot'
      lxc-start 1354793173.812 DEBUG    lxc_conf - umounted
'/lxc_putold/sys'
      lxc-start 1354793173.812 INFO     lxc_conf - lazy unmount of
'/lxc_putold'
      lxc-start 1354793173.812 WARN     lxc_conf - failed to unmount
'/lxc_putold/proc'
      lxc-start 1354793173.813 INFO     lxc_conf - created new pts instance
      lxc-start 1354793173.813 DEBUG    lxc_conf - capabilities has been
setup
      lxc-start 1354793173.813 NOTICE   lxc_conf - 'test1-18' is setup.
      lxc-start 1354793173.813 NOTICE   lxc_start - exec'ing '/sbin/init'
      lxc-start 1354793173.813 NOTICE   lxc_start - '/sbin/init' started
with pid '17431'
      lxc-start 1354793173.813 WARN     lxc_start - invalid pid for SIGCHLD





tahnks

Benoit






More information about the lxc-users mailing list