FS#11827 - Some thougths about PolicyKit

Attached to Project: Arch Linux
Opened by Val L. (onestep_ua) - Tuesday, 21 October 2008, 14:15 GMT
Last edited by Jan de Groot (JGC) - Sunday, 30 November 2008, 14:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Hello, I want to suggest some improvements for PolicyKit package:

* Change package description from "Hardware Abstraction Layer" to "Application development toolkit for controlling system-wide privileges".
* Add --with-os-type="Archlinux" to configure options to specify distribution.
* Add "etc/PolicyKit/PolicyKit.conf" to backups array
* Change default config to allow everything for root user.
* Maybe change default config to allow everything for users in wheel group, with asking for password.
This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 30 November 2008, 14:53 GMT
Reason for closing:  Implemented
Additional comments about closing:  Important parts are implemented. Won't implement the others.
Comment by Roman Kyrylych (Romashka) - Tuesday, 21 October 2008, 14:20 GMT
--with-os-type="Arch Linux"
Comment by Val L. (onestep_ua) - Tuesday, 21 October 2008, 14:29 GMT
I've looked at configure and it seems that "archlinux" is must correct.
Comment by Jan de Groot (JGC) - Tuesday, 21 October 2008, 14:38 GMT
--with-os-type=<os> distribution or OS (redhat/suse/gentoo/pardus/solaris)

No archlinux there.

As for the configuration: it's up to you to configure it to allow access by root, but both upstream and redhat don't configure it this way by default, so I'll leave it that way. Same for the wheel group.
Comment by Val L. (onestep_ua) - Tuesday, 21 October 2008, 14:45 GMT
Also /usr/share/locale is not needed in package as it is empty.
Comment by Val L. (onestep_ua) - Tuesday, 21 October 2008, 14:51 GMT
As you can see, freebsd is not listed there, but this is a valid option and it is used in configure. And it's not good to leave distribution as "unknown" when we know what it is. :)

Regarding default policies - I think it's just *handy* to install a package and get a minimal configuration. With no policies at all almost everyone will need to add almost the same things.
Comment by Val L. (onestep_ua) - Tuesday, 21 October 2008, 14:56 GMT
Maybe add the new lines to PolicyKit.conf as commented, like it's done for many other configuration files (mpd.conf, for example)?
Comment by Allan McRae (Allan) - Sunday, 16 November 2008, 05:40 GMT
I don't care about the rest but adding /etc/PolicyKit/PolicyKit.conf to backup array would be very nice.

Loading...