I've reproduced the issue:

lut 12 11:55:46 fx kernel: audit: type=1400 audit(1581504946.015:53): 
apparmor="DENIED" operation="sendmsg" profile="snap.ohmygiraffe.ohmygiraffe" 
pid=6127 comm="love" family="unix" sock_type="dgram" protocol=0 
requested_mask="send" denied_mask="send" addr=none 
peer_addr="@7661722F72756E2F6E76696469612D786472697665722D39646461393234640000000000000000000000000000000000000000000000000000000000000000"
 peer="unconfined"
lut 12 11:55:46 fx kernel: audit: type=1400 audit(1581504946.015:54): 
apparmor="DENIED" operation="sendmsg" profile="snap.ohmygiraffe.ohmygiraffe" 
name="/run/nvidia-xdriver-9dda924d" pid=6127 comm="love" requested_mask="w" 
denied_mask="w" fsuid=1000 ouid=0

I've applied a patch similar to what Jamie suggested and re ran the
application. There were no more denials reported:

This is now fixed in https://github.com/snapcore/snapd/pull/8122

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1862832

Title:
  snapd and Ubuntu 20.04 nvidia triggers apparmor denials on 'sendmsg'
  name=/run/nvidia-xdriver-xxxx and @var/run/nvidia-xdriver-*

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1862832/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to