Public bug reported:
I have several user-space LXC 1.0 containers which recently stopped
working (apt-get dist-upgrade 2-3 days ago, maybe?). I've been unable to
start them up, I'm getting:
user@trusty:~$ lxc-start -n sandbox -d
lxc_container: command get_cgroup failed to receive response
Log outut from lxc_start:
lxc-start 1395605212.193 ERROR lxc_apparmor - No such file or directory -
failed to change apparmor profile to lxc-container-default
lxc-start 1395605212.193 ERROR lxc_sync - invalid sequence number 1.
expected 4
lxc-start 1395605212.193 ERROR lxc_start - failed to spawn 'sandbox'
lxc-start 1395605212.193 ERROR lxc_commands - command get_cgroup failed to
receive response
Restarting apparmor seems to indicate a problem with the LXC apparmor
profile:
root@trusty:/sys/fs/cgroup# service apparmor restart
* 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
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
lxc:
Installed: 1.0.1-0ubuntu1
Candidate: 1.0.1-0ubuntu1
Version table:
*** 1.0.1-0ubuntu1 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
apparmor:
Installed: 2.8.95~2430-0ubuntu2
Candidate: 2.8.95~2430-0ubuntu2
Version table:
*** 2.8.95~2430-0ubuntu2 0
500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
100 /var/lib/dpkg/status
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apparmor 2.8.95~2430-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-19.39-generic 3.13.6
Uname: Linux 3.13.0-19-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Mar 23 15:13:57 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-02-19 (32 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140215)
ProcKernelCmdline: BOOT_IMAGE=/vmlinuz-3.13.0-19-generic
root=UUID=dd7d7dc4-de9a-480a-8653-9175c7c247b2 ro quiet splash
SourcePackage: apparmor
Syslog: Mar 23 14:50:52 cloudsong dbus[912]: [system] AppArmor D-Bus mediation
is enabled
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: apparmor (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1296384
Title:
LXC apparmor profile broken w/recent trusty update
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1296384/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs