[Pkg-utopia-maintainers] Bug#965165: policykit-1: polkit.service broken after switch to /usr/libexec
Sedat Dilek
sedat.dilek at gmail.com
Fri Jul 17 04:53:06 BST 2020
Package: policykit-1
Version: 0.105-27
Severity: normal
Tags: patch
X-Debbugs-Cc: sedat.dilek at gmail.com
Dear Maintainer,
first the installation on upgrade fails like this:
Setting up policykit-1 (0.105-27) ...
chown: cannot access '/usr/lib/policykit-1/polkit-agent-helper-1': No
such file or directory
dpkg: error processing package policykit-1 (--configure):
installed policykit-1 package post-installation script subprocess
returned error exit status 1
That fixed the installation:
# mkdir -p /usr/lib/policykit-1/polkit-agent-helper-1
But the polkit.service fails to start.
Checking the commits on <salsa.d.o> revealed there was a move/switch to /usr/libexec.
This fixes the issue for me (polkit.service):
--- /lib/systemd/system/polkit.service.orig 2020-07-17 00:50:43.000000000 +0200
+++ /lib/systemd/system/polkit.service 2020-07-17 05:34:25.292147729 +0200
@@ -5,4 +5,4 @@ Documentation=man:polkit(8)
[Service]
Type=dbus
BusName=org.freedesktop.PolicyKit1
-ExecStart=/usr/lib/policykit-1/polkitd --no-debug
+ExecStart=/usr/libexec/polkitd --no-debug
Thanks.
Regards,
- Sedat -
[1] https://salsa.debian.org/utopia-team/polkit/-/commit/90e87fe8887ee212fa05739f0b549546fea680ff
-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (500, 'testing'), (99, 'buildd-unstable'), (99, 'buildd-experimental'), (99, 'experimental'), (99, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.8.0-rc5-9-amd64-llvm11-ias (SMP w/4 CPU threads)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages policykit-1 depends on:
ii dbus 1.12.20-1
ii libc6 2.31-1
ii libexpat1 2.2.9-1
ii libglib2.0-0 2.64.4-1
ii libpam-systemd [logind] 245.6-3
ii libpam0g 1.3.1-5
ii libpolkit-agent-1-0 0.105-27
ii libpolkit-gobject-1-0 0.105-27
ii libsystemd0 245.6-3
policykit-1 recommends no packages.
policykit-1 suggests no packages.
Versions of packages policykit-1 is related to:
pn elogind <none>
pn libpam-elogind <none>
ii libpam-systemd 245.6-3
ii systemd 245.6-3
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list