[Pkg-utopia-maintainers] Bug#1087525: polkitd: polkit-tmpfiles.conf overrides dpkg-statoverride
Michael Gold
michael at bitplane.org
Thu Nov 14 18:04:05 GMT 2024
Package: polkitd
Version: 125-2
Dear Maintainer,
Something was removing the world-readable mode of /etc/polkit-1/rules.d/
on my system (repeatedly), which meant that an un-privileged git process
was not able to check for changes until I fixed it.
It took me a while to track this down. I thought it was not the polkitd
package, because its maintainer scripts specifically skip the "chmod" on
the directory if a dpkg-statoverride entry exists, as does on my system.
But it seems that the /usr/lib/tmpfiles.d/polkit-tmpfiles.conf file from
this package is to blame; it does not respect the statoverride settings.
I don't see why it is necessary, and the relevant changelog entry has no
explanation. I also don't consider it appropriate to modify a permanent
administrator-controlled directory via the temporary-file mechanism; the
directory could be created by a maintainer script if necessary, and then
left alone.
If there is a good reason for this, the tmpfiles.d files should at least
be mentioned in polkitd.postinst to avoid frustration (dpkg-divert could
then be used to get rid of it).
- Michael
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.7-amd64 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages polkitd depends on:
ii adduser 3.137
ii dbus [default-dbus-system-bus] 1.14.10-6
ii libc6 2.40-3
ii libduktape207 2.7.0-2+b2
ii libexpat1 2.6.4-1
ii libglib2.0-0t64 2.82.2-2
ii libpam-systemd [logind] 257~rc1-4
ii libpam0g 1.5.3-7+b1
ii libpolkit-agent-1-0 125-2
ii libpolkit-gobject-1-0 125-2
ii libsystemd0 257~rc1-4
ii systemd [systemd-sysusers] 257~rc1-4
ii xml-core 0.19
polkitd recommends no packages.
polkitd suggests no packages.
Versions of packages polkitd is related to:
pn elogind <none>
pn libpam-elogind <none>
ii libpam-systemd 257~rc1-4
ii systemd 257~rc1-4
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20241114/9f3d1022/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list