I'm usingTrusty (14.04.2) trying to run debian/jessie in lxc

what i did: 
$ add-apt-repository ppa:ubuntu-lxc/daily
$ apt-get update
$ apt-get install lxc cgmanager lxcfs

then:
$ lxc-create -n jessie -t debian
$ lxc-start -n jessie
nothing seems to happen

in the syslog i see:
Jul 31 20:07:05 ubu kernel: [  962.944281] type=1400 audit(1438366025.666:88): 
apparmor="DENIED" operation="mount" info="failed type match" error=-13 
profile="lxc-container-default" name="/sys/fs/cgroup/cpu,cpuacct/" pid=15251 
comm="systemd" fstype="cgroup" srcname="cgroup" flags="rw, nosuid, nodev, 
noexec"
Jul 31 20:07:05 ubu kernel: [  962.944321] type=1400 audit(1438366025.666:89): 
apparmor="DENIED" operation="mount" info="failed type match" error=-13 
profile="lxc-container-default" name="/sys/fs/cgroup/" pid=15251 comm="systemd" 
flags="ro, nosuid, nodev, noexec, remount, strictatime"

but it's actually running, i can get a shell with:
$ lxc-attach -n jessie
root@jessie:~#

so there is just the login part missing for some reason (init/systemd
won't start getty?)

Thanks Stephane for the PPA!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1347020

Title:
  systemd does not boot in a container

Status in lxc package in Ubuntu:
  Fix Released
Status in lxc source package in Trusty:
  Triaged

Bug description:
  Opening against cloud-init for now, but ultimately might end up as
  bug-fixes / srus against some other packages in trusty.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1347020/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to