firewall-control interface doesn't give snap access to /run/ufw.lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Incomplete
|
Medium
|
Alberto Mardegan |
Bug Description
We need to drive some ufw commands with MicroK8s in order to make sure all the required ports are open.
firewall-control is connected, but access to the host's /run/ufw.lock is still blocked by AppArmor:
[ 988.736670] audit: type=1400 audit(162877978
[ 989.508280] audit: type=1400 audit(162877978
[ 990.258163] audit: type=1400 audit(162877978
[ 991.015444] audit: type=1400 audit(162877978
[ 991.756865] audit: type=1400 audit(162877978
Changed in snapd: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in snapd: | |
assignee: | nobody → Alberto Mardegan (mardy) |
How can I trigger this error? Just running `snap start microk8s` does not seem to raise it.