Package: policykit-1 / 0.116-2

Metadata

Package Version Patches format
policykit-1 0.116-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_pam_polkit.patch | (download)

data/polkit-1.in | 10 6 + 4 - 0 !
1 file changed, 6 insertions(+), 4 deletions(-)

 use debian's common-* pam infrastructure, plus pam_env

02_gettext.patch | (download)

src/polkitbackend/polkitbackendactionpool.c | 49 49 + 0 - 0 !
1 file changed, 49 insertions(+)

 use gettext for translations in .policy files


05_revert admin identities unix group wheel.patch | (download)

src/polkitbackend/50-default.rules | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 revert "default to adminidentities=unix-group:wheel for local
 authority"

This reverts commit 763faf434b445c20ae9529100d3ef5290976d0c9.

On Red Hat derivatives, every member of group 'wheel' is necessarily
privileged. On Debian derivatives, there is no wheel group, and gid 0
(root) is not used in this way. Change the default rule to consider
uid 0 to be privileged, instead.

On Red Hat derivatives, 50-default.rules is not preserved by upgrades;
on dpkg-based systems, it is a proper conffile and may be edited
(at the sysadmin's own risk), so the comment about not editing it is
misleading.

[smcv: added longer explanation of why we make these changes]

08_chdir_root.patch | (download)

src/polkitbackend/polkitd.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 explicitly use chdir("/") instead of relying on ~user being set
 properly


Move D Bus policy file to usr share dbus 1 system.d.patch | (download)

data/Makefile.am | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 move d-bus policy file to /usr/share/dbus-1/system.d/

To better support stateless systems with an empty /etc, the old location
in /etc/dbus-1/system.d/ should only be used for local admin changes.
Package provided D-Bus policy files are supposed to be installed in
/usr/share/dbus-1/system.d/.

This is supported since dbus 1.9.18.

https://lists.freedesktop.org/archives/dbus/2015-July/016746.html

https://gitlab.freedesktop.org/polkit/polkit/merge_requests/11