The solution I found is to add the following rule in
/etc/apparmor.d/local/fusermount3:

  unix (receive, send) type=stream,

Then run:

% sudo apparmor_parser -r /etc/apparmor.d/fusermount3

This assumes that /etc/apparmor.d/fusermount3 has the following line:

  include if exists <local/fusermount3>

---

Side note, aa-logprof does not seem to like the rule format for mount.
When I ran `sudo aa-logprof` I got:

skipping unparseable profile /etc/apparmor.d/fusermount3 (Can't parse
mount rule mount fstype=@{fuse_types} options=(nosuid,nodev) options in
(ro,rw,noatime,dirsync,nodiratime,noexec,sync) -> @{HOME}/**/,)

Similarly, other commands like aa-complain.

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

Title:
  Pika Backup fails to mount backup because of apparmor fusermount3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2120439/+subscriptions


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

Reply via email to