"network" plug does not allow outbound ping
Bug #1699504 reported by
Jacek Nykis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to snap a monitoring daemon. I have the following lines in my snapcraft.yaml:
plugs: [network-bind, network]
But when the daemon tries to ping external hosts it's not allowed to:
audit: type=1400 audit(149805097
snap 2.25
snapd 2.25
series 16
ubuntu 16.04
kernel 4.4.0-81-generic
To post a comment you must log in.
This also includes attempts at using "ping" via the command line.
[ 134.018690] audit: type=1400 audit(149873079 0.150:24) : apparmor="DENIED" operation="open" profile= "snap.xxx. xxx" name="/bin/ping" pid=1347 comm="bash" requested_mask="r" denied_mask="r" fsuid=0 ouid=