[Bug 1296681] Re: failed to change apparmor profile to lxc-container-default

Hadmut Danisch hadmut at danisch.de
Tue Mar 25 09:05:17 UTC 2014


It fails.

I would say the problem is that

   /etc/apparmor.d/lxc/lxc-default

includes a file named

   lxc-container-default

which simply is missing in the package and thus can't be included.




# /etc/init.d/apparmor reload
 * Reloading AppArmor profiles                                                                                                     Enocoding of mount rule failed
ERROR processing policydb rules for profile lxc-container-default, failed to load
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd


# lxc-start -n meinerster
lxc-start: Device or resource busy - failed to set memory.use_hierarchy to 1; continuing
lxc-start: No such file or directory - failed to change apparmor profile to lxc-container-default
lxc-start: invalid sequence number 1. expected 4
lxc-start: failed to spawn 'meinerster'
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/hugetlb/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/perf_event/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/blkio/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/freezer/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/devices/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/memory/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/cpuacct/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/cpu/lxc/meinerster
lxc-start: Device or resource busy - cgroup_rmdir: failed to delete /sys/fs/cgroup/cpuset/lxc/meinerster

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1296681

Title:
  failed to change apparmor profile to lxc-container-default

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



More information about the Ubuntu-server-bugs mailing list