Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1031152: system-config-printer: unlock button in system-config-printer provides no elevated permissions dialog

222 views
Skip to first unread message

Alexis

unread,
Feb 12, 2023, 9:00:04 AM2/12/23
to
Package: system-config-printer
Version: 1.5.14-1
Severity: grave
Tags: a11y
Justification: renders package unusable
X-Debbugs-Cc: z9060...@gmail.com

Dear Maintainer,


* What led up to the situation?

Launched system-config-printer as a regular user and attempted
unlock dialog to add new printer to system.

Using XFCE desktop

* What exactly did you do (or not do) that was effective (or
ineffective)?

Closed dialog and ran system-config-printer from terminal and
repeated steps.


* What was the outcome of this action?

The following error was thrown:

Gtk-WARNING **: 08:47:30.475: Error acquiring permission: Failed to acquire permission for action-id org.opensuse.cupspkhelper.mechanism.all-edit

* What outcome did you expect instead?

elevated permissions dialog

* Workaround

running sudo system-config-printer from the terminal provides for
normal operation

* Additional information

found similar bug from Fedora 26 that was resolved by installing
policykit-1-gnome. This did not correct the issue.

-- System Information:
Debian Release: 11.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-21-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (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 system-config-printer depends on:
ii gir1.2-gdkpixbuf-2.0 2.42.2+dfsg-1+deb11u1
ii gir1.2-glib-2.0 1.66.1-1+b1
ii gir1.2-gtk-3.0 3.24.24-4+deb11u2
ii gir1.2-notify-0.7 0.7.9-3
ii gir1.2-packagekitglib-1.0 1.2.2-2
ii gir1.2-pango-1.0 1.46.2-3
ii gir1.2-polkit-1.0 0.105-31+deb11u1
ii python3 3.9.2-3
ii python3-cups 2.0.1-4+b1
ii python3-cupshelpers 1.5.14-1
ii python3-dbus 1.2.16-5
ii python3-gi 3.38.0-2
ii system-config-printer-common 1.5.14-1

Versions of packages system-config-printer recommends:
ii system-config-printer-udev 1.5.14-1

Versions of packages system-config-printer suggests:
ii gnome-software 3.38.1-1

-- no debconf information

Kevin Otte

unread,
Apr 15, 2023, 12:40:04 AM4/15/23
to
Package: system-config-printer
Version: 1.5.18-1
Followup-For: Bug #1031152

Workaround suggested by original reporter (sudo) ineffective on sway due to Wayland security model.

-- System Information:
Debian Release: 12.0
APT prefers testing-security
APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.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 system-config-printer depends on:
ii gir1.2-gdkpixbuf-2.0 2.42.10+dfsg-1+b1
ii gir1.2-glib-2.0 1.74.0-3
ii gir1.2-gtk-3.0 3.24.37-2
ii gir1.2-handy-1 1.8.1-1
ii gir1.2-notify-0.7 0.8.1-1
ii gir1.2-packagekitglib-1.0 1.2.6-3
ii gir1.2-pango-1.0 1.50.12+ds-1
ii gir1.2-polkit-1.0 122-3
ii python3 3.11.2-1+b1
ii python3-cups 2.0.1-5+b4
ii python3-cupshelpers 1.5.18-1
ii python3-dbus 1.3.2-4+b1
ii python3-gi 3.42.2-3+b1
ii system-config-printer-common 1.5.18-1

Versions of packages system-config-printer recommends:
ii avahi-utils 0.8-9
ii system-config-printer-udev 1.5.18-1

Versions of packages system-config-printer suggests:
pn gnome-software <none>

-- no debconf information

Laurent Bigonville

unread,
Apr 20, 2023, 4:10:05 AM4/20/23
to
On Sun, 12 Feb 2023 09:06:02 -0500 Alexis <z9060...@gmail.com> wrote:
[...]
>
>
> * What was the outcome of this action?
>
> The following error was thrown:
>

> Gtk-WARNING **: 08:47:30.475: Error acquiring permission: Failed to
acquire permission for action-id
org.opensuse.cupspkhelper.mechanism.all-edit

Do you have the cups-pk-helper package installed?

system-config-printer-common already recommends that package.

The definition of Recommends is: "This declares a strong, but not
absolute, dependency. The Recommends field should list packages that
would be found together with this one in all but unusual
installations.", so you should probably also install recommended packages.

Kind regards,

Laurent Bigonville

Kevin Otte

unread,
Apr 20, 2023, 7:00:05 PM4/20/23
to
On my Debian 11 XFCE machine this works correctly. Make sure "PolicyKit
Authentication Agent" is checked under "Session and Startup" ->
"Application Autostart".

In Debian 12 under Sway the GNOME Authentication Agent segfaults, but I
will take this up under separate cover. I was able to work around the
issue for the moment by using lxpolkit for the authentication agent instead.
0 new messages