[Pkg-utopia-maintainers] Bug#1087525: polkitd: polkit-tmpfiles.conf overrides dpkg-statoverride
Simon McVittie
smcv at debian.org
Thu Nov 14 19:47:02 GMT 2024
On Thu, 14 Nov 2024 at 19:41:54 +0100, Michael Biebl wrote:
> Am 14.11.24 um 19:17 schrieb Michael Biebl:
> > The way to override package provided tmpfiles snippets is to ship one
> > under the same name in /etc/tmpfiles.d, i.e. /etc/tmpfiles.d/polkit-
> > tmpfiles.conf in your case.
>
> Simon, do you think we should drop /etc/polkit-1/rules.d from polkitd.dirs
> and rely on the tmpfiles snippet only?
I don't know. I don't have a sense of how close we are to project
consensus on the extent to which we as a project are using the
cross-distro tmpfiles.d, and its intended interactions with the
Debian-specific dpkg-statoverride.
I was a little surprised that a "d" line in tmpfiles.d alters the
permissions and ownership of a pre-existing directory, but I see that's
behaving as documented. In principle it would be possible to use ":0750"
instead of "0750", which would only set the permissions if the directory
doesn't already exist - but then, if the upstream- or distro-provided
permissions *changed*, that change would not be reflected on existing
systems (unless applied redundantly by imperative code in the maintainer
script), and that's maybe bad.
smcv
More information about the Pkg-utopia-maintainers
mailing list