[Bug 2110626] Re: apparmor fusermount3 profile disallows noatime flag, breaking fuse-overlayfs

2025-09-09 Thread Launchpad Bug Tracker
This bug was fixed in the package apparmor - 4.1.0~beta5-0ubuntu14.1

---
apparmor (4.1.0~beta5-0ubuntu14.1) plucky; urgency=medium

  * This is an SRU from Questing to Plucky, tracked in LP: #2110236
  * Add patch to allow unprivileged_userns access to root dir
(LP: #2110616):
- d/p/u/unprivileged_userns_rootdir.patch
  * Add patch to fix lsblk accesses on IBM System Z systems (LP: #2107402)
and execution from a confined context (LP: #2107455):
- d/p/u/lsblk-s390-fixes.patch
  * Add patch to fix execution of various commands from confined contexts
(LP: #2110628):
- d/p/u/profiles_ensure_access_to_attach_path.patch
  * Add patch to include new QtWebEngineProcess execution path in
plasmashell profile (LP: #2107723):
- d/p/u/plasmashell-QtWebEngineProcess-new-path.patch
  * Add patch to allow /cvmfs fusermounts (LP: #2110624):
- d/p/u/fusermount3_cvmfs.patch
  * Add patch to grant OpenVPN DNS accesses (LP: #2107596, LP: #2109029):
- d/p/u/openvpn_dnsfix.patch
  * Add patch to expand allowed fusermount3 flags for fuse_overlayfs and
sshfs via fstab (LP: #2110626, LP: #2111807):
- d/p/u/fusermount3_allow_more_flags.patch
  * Add patch to fix permission denials for iotop-c (LP: #2107727):
- d/p/u/profiles-give-iotop-c-additional-accesses.patch
  * Add patch to fix parser handling of norelatime mount flag
(LP: #2110688):
- d/p/u/parser-fix-handling-of-norelatime-mount-rule-flag.patch
  * Add patch to fix incorrect mount rule documentation in the apparmor.d
man page (LP: #2110630):
- d/p/u/fix-incorrect-mount-flag-apparmor.d-docs.patch
  * Add patch to add regression tests for the above two patches:
- d/p/u/regression-verify-documented-mount-flag-behavior.patch
  * d/p/u/remmina_mr_1348.patch, d/p/u/remmina-dbus-describeall.patch:
move the remmina profile to profiles/apparmor/profiles/extras to
disable it by default (LP: #2102033)
  * debian/apparmor.install: remove the remmina profile entry
  * debian/apparmor-profiles.install: add an entry for the remmina profile
  * debian/apparmor.maintscript: remove the remmina profile upon upgrade

 -- Ryan Lee   Wed, 27 May 2025 11:29:02 -0700

** Changed in: apparmor (Ubuntu Plucky)
   Status: Fix Committed => Fix Released

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

Title:
  apparmor fusermount3 profile disallows noatime flag, breaking fuse-
  overlayfs

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


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

[Bug 2110626] Re: apparmor fusermount3 profile disallows noatime flag, breaking fuse-overlayfs

2025-09-03 Thread Ryan Lee
$ apt policy apparmor
apparmor:
  Installed: 4.1.0~beta5-0ubuntu14.1
  Candidate: 4.1.0~beta5-0ubuntu14.1
  Version table:
 *** 4.1.0~beta5-0ubuntu14.1 100
100 http://archive.ubuntu.com/ubuntu plucky-proposed/main amd64 Packages
100 /var/lib/dpkg/status
 4.1.0~beta5-0ubuntu14 500
500 http://archive.ubuntu.com/ubuntu plucky/main amd64 Packages

`sudo aa-status` confirms that a fusermount3 profile is loaded.

`fuse-overlayfs -o lowerdir=lower,upperdir=upper,workdir=work
mountpoint` works without printing an error message, and files in the
lower/upper directory show up in the mountpoint after doing the mount.

Test plan verification successful.

** Tags removed: verification-needed verification-needed-plucky
** Tags added: verification-done verification-done-plucky

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

Title:
  apparmor fusermount3 profile disallows noatime flag, breaking fuse-
  overlayfs

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


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

[Bug 2110626] Re: apparmor fusermount3 profile disallows noatime flag, breaking fuse-overlayfs

2025-09-01 Thread Julian Andres Klode
Hello Ryan, or anyone else affected,

Accepted apparmor into plucky-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/apparmor/4.1.0~beta5-0ubuntu14.1 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
plucky to verification-done-plucky. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-plucky. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: apparmor (Ubuntu Plucky)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-plucky

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

Title:
  apparmor fusermount3 profile disallows noatime flag, breaking fuse-
  overlayfs

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


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

[Bug 2110626] Re: apparmor fusermount3 profile disallows noatime flag, breaking fuse-overlayfs

2025-07-08 Thread Ryan Lee
** Description changed:

  [ Impact ]
  
  fusermount3 lacked permissions to mount with noatime, which is needed to
  use fuse_overlayfs.
  
  [ Test Plan ]
  
  After installation of the new AppArmor version, the machine might need
  to be rebooted. If a reboot between installation and test plan execution
  is needed for a test to pass, please mention it in the test plan
  execution notes so that we can determine if this is cause for
  verification test failure, expected behavior, or the result of an
  unrelated bug that we are not attempting to fix with this SRU.
  
-  * Install fuse-overlayfs
-  * Inside the home directory, make folders "lower", "upper", "work", and 
"mountpoint"
-  * Mount a fuse-overlayfs with `fuse-overlayfs -o 
lowerdir=lower,upperdir=upper,workdir=work mountpoint`
-  * Without the fix: the mount fails and apparmor generates a log reporting 
"failed flags match"
-  * With the fix: the mount should succeed
+  * Run `sudo aa-status` on each machine and verify that a fusermount3 profile 
is loaded
+  * Install fuse-overlayfs
+  * Inside the home directory, make folders "lower", "upper", "work", and 
"mountpoint"
+  * Mount a fuse-overlayfs with `fuse-overlayfs -o 
lowerdir=lower,upperdir=upper,workdir=work mountpoint`
+  * Without the fix: the mount fails and apparmor generates a log reporting 
"failed flags match"
+  * With the fix: the mount should succeed
  
  [ Where problems could occur ]
  
  Allowing noatime mount flags for fusermount3 is loosening confinement on
  a profile. However, if a user manually modified the installed profiles,
  then the package upgrade would cause conflicts, and rejection of the
  incoming changes (either by hand during an interactive upgrade or
  automatically during an batch unattended upgrade) would result in end
  users not getting the packaged fix.
  
  [ Other Info ]
  
  This issue was originally reported at
  https://gitlab.com/apparmor/apparmor/-/merge_requests/1673.

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

Title:
  apparmor fusermount3 profile disallows noatime flag, breaking fuse-
  overlayfs

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


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

[Bug 2110626] Re: apparmor fusermount3 profile disallows noatime flag, breaking fuse-overlayfs

2025-05-15 Thread Marc Deslauriers
** Also affects: apparmor (Ubuntu Plucky)
   Importance: Undecided
   Status: New

** Also affects: apparmor (Ubuntu Questing)
   Importance: Undecided
   Status: New

** Changed in: apparmor (Ubuntu Questing)
   Status: New => Fix Released

** Changed in: apparmor (Ubuntu Plucky)
   Status: New => In Progress

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

Title:
  apparmor fusermount3 profile disallows noatime flag, breaking fuse-
  overlayfs

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


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