Public bug reported: Repro: $ sudo lxc-create -t ubuntu -n precise -f /etc/lxc/local.conf -- -r precise -a i686 -b gary $ sudo lxc-start-ephemeral -o precise Setting up ephemeral container... Starting up the container... lxc-start: Invalid argument - failed to open /var/lib/lxc/precise-temp-P3RLwXk/config lxc-start: failed to read configuration file
Workaround (thanks to wgrant): $ sudo ln -s /etc/apparmor.d/usr.bin.lxc-start /etc/apparmor.disable/usr. usr.bin.firefox usr.sbin.rsyslogd $ sudo ln -s /etc/apparmor.d/usr.bin.lxc-start /etc/apparmor.d/d isable/ $ sudo apparmor_parser -R /etc/apparmor.d/usr.bin.lxc-start $ sudo lxc-start-ephemeral -o precise Setting up ephemeral container... Starting up the container... precise-temp-JgTN0gj is running You connect with the command: sudo lxc-console -n precise-temp-JgTN0gj ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/925028 Title: apparmor breaks lxc-start-ephemeral To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/925028/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs