[Lxc-users] Maverick Template Issues with a Ubuntu Precise Host

Ken Elkabany Ken at Elkabany.com
Tue Jun 19 03:16:17 UTC 2012


Hello,

I have a Ubuntu Precise host, where I created a few test containers using
the following commands:

lxc-create -n env3 -t ubuntu -- -r precise
lxc-create -n env4 -t ubuntu -- -r natty
lxc-create -n env5 -t ubuntu -- -r maverick
lxc-create -n env6 -t ubuntu -- -r lucid

Every distribution besides Maverick works straight after installation with
no additional configuration! This is a welcome change compared to when I
first tried LXC a year or two ago, and nothing worked out of the box.

Running lxc-start with the Maverick container results in the whole process
becoming unresponsive:

root at HOST:~# lxc-start -n env5 -o env5log -l DEBUG
init: ureadahead main process (6) terminated with status 5
init: console-setup main process (24) terminated with status 1
init: procps main process (25) terminated with status 255
init: ureadahead-other main process (29) terminated with status 4
init: rsyslog main process (33) terminated with status 1
init: rsyslog main process ended, respawning
init: plymouth main process (8) killed by ABRT signal
init: plymouth-splash main process (47) terminated with status 2


I've included the logs below:

      ...
      lxc-start 1340075263.795 DEBUG    lxc_cgroup - get_init_cgroup: found
init cgroup for subsys devices at /


      lxc-start 1340075263.795 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1340075263.795 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/env5 for subsystem devices.allow
      lxc-start 1340075263.795 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 10:200 rwm'
      lxc-start 1340075263.795 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name env5

      lxc-start 1340075263.795 DEBUG    lxc_cgroup - get_init_cgroup: found
init cgroup for subsys devices at /


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

      lxc-start 1340075263.795 DEBUG    lxc_cgroup - get_init_cgroup: found
init cgroup for subsys devices at /


      lxc-start 1340075263.795 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1340075263.795 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/env5 for subsystem devices.allow
      lxc-start 1340075263.795 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 10:228 rwm'
      lxc-start 1340075263.795 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
called for subsys devices name env5

      lxc-start 1340075263.796 DEBUG    lxc_cgroup - get_init_cgroup: found
init cgroup for subsys devices at /


      lxc-start 1340075263.796 DEBUG    lxc_cgroup - using cgroup mounted
at '/sys/fs/cgroup/devices//lxc'
      lxc-start 1340075263.796 DEBUG    lxc_cgroup - lxc_cgroup_path_get:
returning /sys/fs/cgroup/devices//lxc/env5 for subsystem devices.allow
      lxc-start 1340075263.796 DEBUG    lxc_conf - cgroup 'devices.allow'
set to 'c 10:232 rwm'
      lxc-start 1340075263.796 INFO     lxc_conf - cgroup has been setup
      lxc-start 1340075263.796 INFO     lxc_conf - console has been setup
      lxc-start 1340075263.796 INFO     lxc_conf - 4 tty(s) has been setup
      lxc-start 1340075263.796 INFO     lxc_conf - checking if proc mount
needed

      lxc-start 1340075263.796 INFO     lxc_conf - no proc mount needed

      lxc-start 1340075263.796 DEBUG    lxc_conf - mountpoint for old
rootfs is '/usr/lib/lxc/root/mnt'
      lxc-start 1340075263.796 DEBUG    lxc_conf - pivot_root syscall to
'/usr/lib/lxc/root' successful
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/dev/pts'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/run/lock'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/run/shm'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/fuse/connections'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/kernel/debug'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/kernel/security'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/cpuset'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/cpu'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/cpuacct'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/memory'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/devices'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/freezer'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/blkio'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup/perf_event'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/proc'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/mnt'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/afs'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/var/lib/lxc/env2/rootfs'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/var/lib/lxc/env3/rootfs'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/dev'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/run'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted
'/mnt/sys/fs/cgroup'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt/sys'
      lxc-start 1340075263.796 DEBUG    lxc_conf - umounted '/mnt'
      lxc-start 1340075263.797 INFO     lxc_conf - created new pts instance
      lxc-start 1340075263.797 INFO     lxc_conf - set personality to '0x0'
      lxc-start 1340075263.797 DEBUG    lxc_conf - drop capability
'sys_module' (16)
      lxc-start 1340075263.797 DEBUG    lxc_conf - drop capability
'mac_admin' (33)
      lxc-start 1340075263.797 DEBUG    lxc_conf - capabilities has been
setup
      lxc-start 1340075263.797 NOTICE   lxc_conf - 'env5' is setup.
      lxc-start 1340075263.797 INFO     lxc_start - changed apparmor
profile to lxc-container-default
      lxc-start 1340075263.797 NOTICE   lxc_start - exec'ing '/sbin/init'
      lxc-start 1340075263.798 NOTICE   lxc_start - '/sbin/init' started
with pid '8784'
      lxc-start 1340075263.798 WARN     lxc_start - invalid pid for SIGCHLD

Any ideas? Is the final warning fatal?

Best,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120618/c22f86cb/attachment.html>


More information about the lxc-users mailing list