Comment 2 for bug 2006528

Revision history for this message
Bui Hong Ha (telescreen) wrote :

I tried restart snapd.apparmor.service and apparmor.service but it does not help.
https://pastebin.ubuntu.com/p/YbgG6PTBdg/

I remembered when I created the container, the aa-status does show that lxd processes are in enforced mode. May be the issue only manifests after I rebooted the physical machine.

Actually, I noticed the process disappeared from aa-status when I was trying to debug the mount with hidepid=2 inside the container.

The steps I was performing at the time were

# lxc exec finer-burro -- mount -v | grep '^proc'
# lxc exec finer-burro -- mount -o remount,rw,hidepid=2 /proc