$ apt policy apparmor # After enabling -proposed but before upgrading
apparmor:
  Installed: 4.0.1really4.0.1-0ubuntu0.24.04.6
  Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.6
  Version table:
     4.0.1really4.0.1-0ubuntu0.24.04.7 100
        100 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
 *** 4.0.1really4.0.1-0ubuntu0.24.04.6 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     4.0.0-beta3-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

Thumbnail generation for a downloaded image fails.

The upgrade to 0ubuntu0.24.04.7 produces a /var/run/reboot-required
file, as well as a "The computer needs to restart to finish installing
updates." prompt from the GUI software updater.

After the upgrade and reboot:

$ apt policy apparmor
apparmor:
  Installed: 4.0.1really4.0.1-0ubuntu0.24.04.7
  Candidate: 4.0.1really4.0.1-0ubuntu0.24.04.7
  Version table:
 *** 4.0.1really4.0.1-0ubuntu0.24.04.7 100
        100 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     4.0.1really4.0.1-0ubuntu0.24.04.6 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
     4.0.0-beta3-0ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages

aa-status output shows that nautilus now has an unconfined profile, and
~/.cache/thumbnails/fail/gnome-thumbnail-factory no longer exists.

The previously downloaded image now thumbnails correctly, and a newly
downloaded image also thumbnails correctly.

Creating a deliberately broken image file:
$ echo "This is not an image file." > rene_magritte.png

Nautilus generates an entry in ~/.cache/thumbnails/fail/gnome-thumbnail-
factory for the non-image file.

Upon reinstalling the update (apt install --reinstall apparmor), logging out, 
and logging back in:
- The failed cache entry still exists, with the same filesystem timestamp as 
before
- No /var/run/reboot-required or similar file exists

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

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

Title:
  "AppArmor update removes /etc/apparmor.d/nautilus profile, breaking
  thumbnails in Nautilus (Ubuntu 24.04)"

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


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

Reply via email to