Acknowledgement sent
to Jérémy Lal <kapouer@melix.org>:
New Bug report received and forwarded. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 23 Feb 2025 09:45:02 GMT) (full text, mbox, link).
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: papers: apparmor DENIED mesa cache
Date: Sun, 23 Feb 2025 10:42:15 +0100
Package: papers
Version: 48~beta-3
Severity: normal
When launching papers, it displays a black rectangle for two seconds.
User logs show a lot of
[ 1441.204501] audit: type=1400 audit(1740303035.447:5060): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/bin/papers" name="/home/dev/.cache/mesa_shader_cache_db/part7/mesa_cache.db" pid=9441 comm="papers:disk$0" requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
so I guess there is something papers is trying to do, that apparmor won't let it do,
and it would work better if it did :)
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.15-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages papers depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-5
ii gsettings-desktop-schemas 48~beta-1
ii libadwaita-1-0 1.7~beta-2
ii libc6 2.40-7
ii libgcc-s1 14.2.0-17
ii libgdk-pixbuf-2.0-0 2.42.12+dfsg-2
ii libglib2.0-0t64 2.83.4-1
ii libgraphene-1.0-0 1.10.8-5
ii libgtk-4-1 4.17.4+ds-4
ii libnautilus-extension4 48~beta-2
ii libpango-1.0-0 1.56.1-1
ii libppsdocument-4.0-5 48~beta-3
ii libppsview-4.0-4 48~beta-3
ii papers-common 48~beta-3
ii shared-mime-info 2.4-5+b2
papers recommends no packages.
Versions of packages papers suggests:
ii gvfs 1.57.2-1
pn nautilus-sendto <none>
ii poppler-data 0.4.12-1
ii unrar 1:7.1.4-1
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>: Bug#1098717; Package papers.
(Sun, 23 Feb 2025 14:36:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Simon McVittie <smcv@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>.
(Sun, 23 Feb 2025 14:36:02 GMT) (full text, mbox, link).
On Sun, 23 Feb 2025 at 10:42:15 +0100, Jérémy Lal wrote:
> When launching papers, it displays a black rectangle for two seconds.
>
> User logs show a lot of
> [ 1441.204501] audit: type=1400 audit(1740303035.447:5060): apparmor="DENIED" operation="file_lock" class="file" profile="/usr/bin/papers" name="/home/dev/.cache/mesa_shader_cache_db/part7/mesa_cache.db" pid=9441 comm="papers:disk$0" requested_mask="k" denied_mask="k" fsuid=1000 ouid=1000
Probably any GTK4 app with a non-trivial AppArmor profile will need to
#include <abstractions/mesa>, to allow access to Mesa's shader cache
for OpenGL and Vulkan.
smcv
Message sent on
to Jérémy Lal <kapouer@melix.org>:
Bug#1098717.
(Thu, 06 Mar 2025 20:27:02 GMT) (full text, mbox, link).
Control: tag -1 pending
Hello,
Bug #1098717 in papers reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/gnome-team/papers/-/commit/f3d42d9af5a169e4bf6949fa284729c84c686a61
------------------------------------------------------------------------
debian: add AppArmor mesa abstractions
GTK4 is rendered using OpenGL/Vulkan, which wasn't the case for GTK3. We
therefore need to allow access to the Mesa shader cache by including the
Mesa abstractions in the AppArmor profile for Papers.
Closes: #1098717
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/1098717
Added tag(s) pending.
Request was from Jeremy Bícha <noreply@salsa.debian.org>
to 1098717-submitter@bugs.debian.org.
(Thu, 06 Mar 2025 20:27:02 GMT) (full text, mbox, link).
Reply sent
to Jeremy Bícha <jbicha@ubuntu.com>:
You have taken responsibility.
(Fri, 21 Mar 2025 21:12:02 GMT) (full text, mbox, link).
Notification sent
to Jérémy Lal <kapouer@melix.org>:
Bug acknowledged by developer.
(Fri, 21 Mar 2025 21:12:02 GMT) (full text, mbox, link).
Source: papers
Source-Version: 48.0-1
Done: Jeremy Bícha <jbicha@ubuntu.com>
We believe that the bug you reported is fixed in the latest version of
papers, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1098717@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeremy Bícha <jbicha@ubuntu.com> (supplier of updated papers package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 21 Mar 2025 15:42:50 -0400
Source: papers
Built-For-Profiles: noudeb
Architecture: source
Version: 48.0-1
Distribution: unstable
Urgency: high
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Changed-By: Jeremy Bícha <jbicha@ubuntu.com>
Closes: 1098717
Changes:
papers (48.0-1) unstable; urgency=high
.
[ Jeremy Bícha ]
* New upstream release
* Temporarily disable gir re-generation to bypass #1100054
* Bump minimum poppler to 25.03
* debian/*.symbols: Update
* Remove unused lintian overrides
* Update debian/copyright
* Add patch to relax Rust dependencies to versions currently in Debian
* Remove patch that attempted to lower poppler dependency
* Update AppArmor syntax from #include to include
.
[ Arnaud Ferraris ]
* apparmor: Add mesa abstractions (Closes: #1098717)
Checksums-Sha1:
17ef809e14b6c8908161f88868af464169766569 3568 papers_48.0-1.dsc
91edd193fd37b5b419578f2fa68ae8da3648847b 4577908 papers_48.0.orig.tar.xz
86c59017c2fca02aec13da360d17447d81596b83 55392 papers_48.0-1.debian.tar.xz
78f8dba410c4bc8e515890d7818162451c1682be 17566 papers_48.0-1_source.buildinfo
Checksums-Sha256:
1d058b77d4b38b618daaef7562e58561a6e91e5bcf993aec9495096f4ace0984 3568 papers_48.0-1.dsc
c1e4e93e50ae5ad3b54796aa2dd948b799ec2571820edef6d4735aedc1efcea6 4577908 papers_48.0.orig.tar.xz
4e68290c8cc3a7b22ac640e981380a97dc663f00db252d38fcc969e55e47d136 55392 papers_48.0-1.debian.tar.xz
278c7d4397c664023659470e9d09964c60dbd93aaf1d0b89e8f5af251a4cf93b 17566 papers_48.0-1_source.buildinfo
Files:
1949ee66138847619ee5047d70fe9087 3568 gnome optional papers_48.0-1.dsc
eb970a81c2bc864d6f6f75024dd7c4cb 4577908 gnome optional papers_48.0.orig.tar.xz
f4be920ffa9ecf7737a1d12536441534 55392 gnome optional papers_48.0-1.debian.tar.xz
f4f65a9acfff5ca66604098e2d7066e6 17566 gnome optional papers_48.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmfdwd8ACgkQ5mx3Wuv+
bH1T9RAAzCQP2fvPHSQqMwqrDoZ+tHZQWvbLz5er0Y81kOdiD2NYlO3mz+Szjwsb
xr8GsjVRjgBMxdyYsRGf4Cg0+HkX72PeE7FL0bN39jL+6GCo9QCmNwMnfVWWp6/8
C/kAhV2xQ3mgcjI9UG5VTo2KhSKtEiL+HMU0qSWcWY+fNOx2hcAuh31MukVIL+uF
pWojBrCy/ErdXoJbdZHmdvxd3nDN3oYOc1sgig0MGojUrWncoiLmmoj4mC+LW5yX
byMGJ8v9UX4zsms1O871gNOIDpHKPvq45UlEKG9q3Jj5XCuxMP8HWe9z3pFdspKH
HKPzEHymyYEVwRe+a9rPNSo3Oxw8eLYLoD+LTN+O8rc0qc9WOmbPa17UYalXtGqr
HigV8WmNfTbJ02yYYrYzZuJx6lEcqohxPvKhDMsjLtpfEsq2bAaG3IiqPMoCW4+A
2H81VU+yRCmpAHhA5/xNkbmNkUO2wETR9ClbZ2AnzWsLMnC0kuXzwkdk+B4AOOnO
ug5UVwKLzRkIVW+yVOzr9W42xPUjq8eDiaryrbeo2Hz5QLQQYE+XRwPY4Neo6EDn
Zwo4q6o0mDRL18uxPs82chu28F8F4uPRJv/p7h4+CyzjCEvryh7Xo49g8/cz8NI6
sQN+lN/HWge0/U0kM0DlU6bx9E3JMjOjdpQgI4OXHKExJu4Yl2I=
=RhnX
-----END PGP SIGNATURE-----
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.