I have 2 Alpine LXC setup, which worked without fail. After doing a apk update/upgrade, I decided to do a reboot and now both won't start anymore. In dmesg I can see: "audit: type=1400 audit(1469779508.387:3): apparmor="DENIED" operation="change_profile" info="label not found" error=-2 profile="/usr/bin/lxc-start" name="lxc-container-default" pid=6229 comm="lxc
-start"
[edit] I can safely say that the Alpine upgrade had nothing to do with it. There is also a (dormant) Debian container, which hasn't been touched and also won't boot.
[edit2] on the server where LXC doesn't work anymore, this is in the /sys/kernel/security/apparmor/profiles file:
/usr/bin/lxc-start (enforce)
but there should be this:
/usr/bin/lxc-start (enforce)
lxc-container-default-with-nesting (enforce)
lxc-container-default-with-mounting (enforce)
lxc-container-default (enforce)
Where did the rest go?
[edit3] Apparently apparmor didn't start correctly, due to a error in a lxc config file, but on a line that exceeded the number of lines in that file. This config file starts other configs, and somehow system logging logs all this as one..... Isn't systemd logging great?
Regards,
Angelo
-start"
[edit] I can safely say that the Alpine upgrade had nothing to do with it. There is also a (dormant) Debian container, which hasn't been touched and also won't boot.
[edit2] on the server where LXC doesn't work anymore, this is in the /sys/kernel/security/apparmor/profiles file:
/usr/bin/lxc-start (enforce)
but there should be this:
/usr/bin/lxc-start (enforce)
lxc-container-default-with-nesting (enforce)
lxc-container-default-with-mounting (enforce)
lxc-container-default (enforce)
Where did the rest go?
[edit3] Apparently apparmor didn't start correctly, due to a error in a lxc config file, but on a line that exceeded the number of lines in that file. This config file starts other configs, and somehow system logging logs all this as one..... Isn't systemd logging great?
Regards,
Angelo
Last edited: