evince hangs when print requested on Ubuntu 22.04.1

Bug #1991448 reported by Bernard Moreton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
New
Undecided
Unassigned

Bug Description

evince /tmp/royalt*pdf
sh: 1: /usr/lib/x86_64-linux-gnu/libproxy/0.4.17/pxgsettings: Permission denied
Killed

Evince does not respond at all, and has to be stopped

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: evince 42.3-0ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-48.54-generic 5.15.53
Uname: Linux 5.15.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: X-Cinnamon
Date: Sat Oct 1 16:11:51 2022
InstallationDate: Installed on 2017-03-09 (2031 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: evince
UpgradeStatus: Upgraded to jammy on 2022-08-12 (50 days ago)

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote :
Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote :

There is a Debian fix,
https://<email address hidden>/msg1870625.html

Apparently the problem occurs under Cinnamon, but not under Gnome-Desktop

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote :

Another Debian bug reference ( #1002725) provided a better (for me!) clue:

In /etc/apparmor.d/usr.bin.evince
adding after
   /usr/bin/pcmanfm Cx -> sanitized_helper, # LXDE
   /usr/bin/krusader Cx -> sanitized_helper, # KDE
   /usr/bin/thunar Cx -> sanitized_helper, # XFCE
the line
  /usr/lib/x86_64-linux-gnu/libproxy/0.4.17/pxgsettings Cx -> sanitized_helper, # Print Dialog

After restarting apparmor, the print problem was fixed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.