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

Michael H. Warfield mhw at WittsEnd.com
Thu Dec 6 17:07:33 UTC 2012


On Thu, 2012-12-06 at 11:35 +0000, Benoit Lourdelet wrote:
> 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

This is currently a known problem with running systemd in a container.
I haven't actually tested Fedora 18 yet and I'm sort of surprised you
didn't run into the pivot root problem associated with that version of
systemd in the host.  Fixes for the console collision problem are in git
and being worked on right now.  Looks like we're targetting 0.9.0 for
the systemd in a container problem and may have an alpha out for it in a
few days.  If you run into the pivot root problem, there's a workaround
for that mentioned in some other threads.

Regards,
Mike

> 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
> 
> 
> 
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20121206/4c563779/attachment.pgp>


More information about the lxc-users mailing list