Package: cups-pk-helper Followup-For: Bug #1079293 Hello,
The attached patch should fix the issue Not tested though Kind regards, Laurent Bigonville -- System Information: Debian Release: trixie/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.10.6-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages cups-pk-helper depends on: ii adduser 3.137 ii libc6 2.39-7 ii libcups2t64 2.4.10-1 ii libglib2.0-0t64 2.81.2-1 ii libpolkit-gobject-1-0 125-2 cups-pk-helper recommends no packages. cups-pk-helper suggests no packages. -- Configuration Files: /etc/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf changed [not included] -- no debconf information
diff -Nru cups-pk-helper-0.2.6/debian/patches/series cups-pk-helper-0.2.6/debian/patches/series --- cups-pk-helper-0.2.6/debian/patches/series 2024-08-08 10:26:27.000000000 +0200 +++ cups-pk-helper-0.2.6/debian/patches/series 2024-08-22 13:23:39.000000000 +0200 @@ -5,4 +5,3 @@ Add-default-statements-to-silence-compiler-warnings.patch Don-t-use-g_type_init-on-recent-glib.patch run_as_cups-pk-helper.patch -Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch diff -Nru cups-pk-helper-0.2.6/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch cups-pk-helper-0.2.6/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch --- cups-pk-helper-0.2.6/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch 2024-08-08 10:26:27.000000000 +0200 +++ cups-pk-helper-0.2.6/debian/patches/Use_cups-pk-helper_in_org.opensuse.CupsPkHelper.Mechanism.conf.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,20 +0,0 @@ -Description: Use cups-pk-helper in *Mechanism.conf - . - cups-pk-helper (0.2.6-1ubuntu4~artful1) artful; urgency=medium - . - * Try: prevent delete of other's jobs -Author: Shem Pasamba <she...@gmail.com> -Forwarded: no -Last-Update: 2017-12-20 - ---- cups-pk-helper-0.2.6.orig/src/org.opensuse.CupsPkHelper.Mechanism.conf -+++ cups-pk-helper-0.2.6/src/org.opensuse.CupsPkHelper.Mechanism.conf -@@ -6,7 +6,7 @@ - <busconfig> - - <!-- Only root can own the service --> -- <policy user="root"> -+ <policy user="cups-pk-helper"> - <allow own="org.opensuse.CupsPkHelper.Mechanism"/> - </policy> - diff -Nru cups-pk-helper-0.2.6/debian/rules cups-pk-helper-0.2.6/debian/rules --- cups-pk-helper-0.2.6/debian/rules 2024-08-08 10:26:27.000000000 +0200 +++ cups-pk-helper-0.2.6/debian/rules 2024-08-22 13:23:39.000000000 +0200 @@ -9,4 +9,4 @@ dh $@ override_dh_auto_configure: - dh_auto_configure -- --enable-compile-warnings=yes + dh_auto_configure -- --enable-compile-warnings=yes --with-daemon-user=cups-pk-helper