I couldn't reproduce this. I installed a fresh vivid vm, did apt-get install lxc, then
ubuntu@lxc-aa:~$ sudo aa-status apparmor module is loaded. 9 profiles are loaded. 9 profiles are in enforce mode. /sbin/dhclient /usr/bin/lxc-start /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/sbin/tcpdump lxc-container-default lxc-container-default-with-mounting lxc-container-default-with-nesting
and
ubuntu@lxc-aa:~$ sudo lxc-create -t ubuntu-cloud --name=vivid [...] ubuntu@lxc-aa:~$ sudo lxc-start -n vivid ubuntu@lxc-aa:~$ sudo lxc-ls -f NAME STATE IPV4 IPV6 GROUPS AUTOSTART --------------------------------------------- vivid RUNNING - - - NO
I couldn't reproduce this. I installed a fresh vivid vm, did apt-get install lxc,
then
ubuntu@lxc-aa:~$ sudo aa-status bin/lxc- start lib/NetworkMana ger/nm- dhcp-client. action lib/NetworkMana ger/nm- dhcp-helper lib/connman/ scripts/ dhclient- script sbin/tcpdump container- default container- default- with-mounting container- default- with-nesting
apparmor module is loaded.
9 profiles are loaded.
9 profiles are in enforce mode.
/sbin/dhclient
/usr/
/usr/
/usr/
/usr/
/usr/
lxc-
lxc-
lxc-
and
ubuntu@lxc-aa:~$ sudo lxc-create -t ubuntu-cloud --name=vivid ------- ------- ------- ------- ------- ---
[...]
ubuntu@lxc-aa:~$ sudo lxc-start -n vivid
ubuntu@lxc-aa:~$ sudo lxc-ls -f
NAME STATE IPV4 IPV6 GROUPS AUTOSTART
-------
vivid RUNNING - - - NO