[lxc-users] LXC 1.0.0 - lxc-start: command get_cgroup failed to receive response

Phiho Hoang hohoangphi at gmail.com
Mon May 26 00:13:11 UTC 2014


Dear List,

I got this problem with lxc built from git source code, cloned May 25.

A similar issue was closed on Mar-27:

https://github.com/lxc/lxc/issues/189

FWIW, lxc 1.0.3 installed with

$ sudo apt-get install lxc

does NOT have this problem

Is this a known issue or it's just my environment?

Please find appended below the console output.

Best regards,

PhiHo

$ sudo lxc-create -t ubuntu -n p1
...
...
Local time is now:      Sun May 25 16:28:34 EDT 2014.
Universal Time is now:  Sun May 25 20:28:34 UTC 2014.

##
# The default user is 'ubuntu' with password 'ubuntu'!
# Use the 'sudo' command to run tasks as root in the container.
##

$ sudo lxc-start -n p1 -d
lxc-start: command get_cgroup failed to receive response

$ sudo lxc-start --version
1.0.0
phiho at lxc1:~$ dmesg | tail -30
[128539.786407] type=1400 audit(1401041189.000:22): apparmor="STATUS"
operation="profile_load" profile="unconfined"
name="lxc-container-default-with-mounting" pid=20312 comm="apparmor_parser"
[128539.786801] type=1400 audit(1401041189.000:23): apparmor="STATUS"
operation="profile_load" profile="unconfined"
name="lxc-container-default-with-nesting" pid=20312 comm="apparmor_parser"
[128539.848905] type=1400 audit(1401041189.064:24): apparmor="STATUS"
operation="profile_load" profile="unconfined" name="/usr/bin/lxc-start"
pid=20320 comm="apparmor_parser"
[128539.934321] ip_tables: (C) 2000-2006 Netfilter Core Team
[128539.978087] Bridge firewalling registered
[128540.052024] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[128540.180870] type=1400 audit(1401041189.396:25): apparmor="STATUS"
operation="profile_replace" profile="unconfined" name="/usr/bin/lxc-start"
pid=20410 comm="apparmor_parser"
[128540.202420] type=1400 audit(1401041189.416:26): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="lxc-container-default" pid=20415 comm="apparmor_parser"
[128540.202436] type=1400 audit(1401041189.416:27): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="lxc-container-default-with-mounting" pid=20415 comm="apparmor_parser"
[128540.202446] type=1400 audit(1401041189.416:28): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="lxc-container-default-with-nesting" pid=20415 comm="apparmor_parser"
[128540.203069] type=1400 audit(1401041189.416:29): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="lxc-container-default-with-mounting" pid=20415 comm="apparmor_parser"
[128540.203080] type=1400 audit(1401041189.416:30): apparmor="STATUS"
operation="profile_replace" profile="unconfined"
name="lxc-container-default-with-nesting" pid=20415 comm="apparmor_parser"
[136961.307423] init: upstart-udev-bridge main process (431) terminated
with status 1
[136961.307459] init: upstart-udev-bridge main process ended, respawning
[136961.308404] init: upstart-file-bridge main process (529) terminated
with status 1
[136961.308436] init: upstart-file-bridge main process ended, respawning
[136961.309353] init: upstart-socket-bridge main process (688) terminated
with status 1
[136961.309385] init: upstart-socket-bridge main process ended, respawning
[136964.043663] init: upstart-udev-bridge main process (29937) terminated
with status 1
[136964.043686] init: upstart-udev-bridge main process ended, respawning
[136964.044081] init: upstart-socket-bridge main process (29940) terminated
with status 1
[136964.044102] init: upstart-socket-bridge main process ended, respawning
[136964.044455] init: upstart-file-bridge main process (29943) terminated
with status 1
[136964.044475] init: upstart-file-bridge main process ended, respawning
[137048.345628] init: upstart-udev-bridge main process (30059) terminated
with status 1
[137048.345652] init: upstart-udev-bridge main process ended, respawning
[137048.346254] init: upstart-file-bridge main process (30062) terminated
with status 1
[137048.346275] init: upstart-file-bridge main process ended, respawning
[137048.346937] init: upstart-socket-bridge main process (30065) terminated
with status 1
[137048.346958] init: upstart-socket-bridge main process ended, respawning
$
$ sudo aa-status
apparmor module is loaded.
8 profiles are loaded.
8 profiles are in enforce mode.
   /sbin/dhclient
   /usr/bin/lxc-start
   /usr/lib/NetworkManager/nm-dhcp-client.action
   /usr/lib/connman/scripts/dhclient-script
   /usr/sbin/tcpdump
   lxc-container-default
   lxc-container-default-with-mounting
   lxc-container-default-with-nesting
0 profiles are in complain mode.
1 processes have profiles defined.
1 processes are in enforce mode.
   /sbin/dhclient (758)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140525/55775aee/attachment.html>


More information about the lxc-users mailing list