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!
I'm usingTrusty (14.04.2) trying to run debian/jessie in lxc
what i did: lxc/daily
$ add-apt-repository ppa:ubuntu-
$ 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: 5.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" 5.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"
Jul 31 20:07:05 ubu kernel: [ 962.944281] type=1400 audit(143836602
Jul 31 20:07:05 ubu kernel: [ 962.944321] type=1400 audit(143836602
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!