FS#22875 - Polkit org.gnome.cpufreqselector.pkla config file to be added by default

Attached to Project: Arch Linux
Opened by Angelo Platti (berseker) - Sunday, 13 February 2011, 07:56 GMT
Last edited by Allan McRae (Allan) - Saturday, 28 April 2012, 10:39 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

In order to use cpufreq selector applet under GNOME, every user is supposed to do this
https://wiki.archlinux.org/index.php/Cpufreq#Privilege_Granting_Under_Gnome

I think that this file should be provided by default by polkit-gnome package for example, configured in a way that if the user has been added to the classic "power" group (by following the first steps of configuration of an Archlinux system just after the first installation), He can use this applet without the need of root password, and obviously without the need to manually edit this file (current year is 2011, not 1911).

Thank you
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 28 April 2012, 10:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  See final comment
Comment by Ionut Biru (wonder) - Sunday, 13 February 2011, 10:21 GMT
in  FS#21029  somebody asked the same think for mouting internal partition without root password being asked.

he added in aur his rules. http://aur.archlinux.org/packages.php?ID=42669

you can ask him to include yours too
Comment by Angelo Platti (berseker) - Sunday, 13 February 2011, 10:56 GMT
ok but you see, Wonder, I think that if an user has to create a package like that on AUR for solving that *problem*, it means that *OUR* distribution has this problem and no-one seems to care.

Please tell me, I am the only one thinking that in 2011 a desktop user must not be obliged to go searching in the wiki or in the AUR for solving a *basic* problem with a desktop environment designed to be simple to use (like GNOME in my case)?

Why this simple rules are not directly inserted in the package that provide the policykit system, so that everyone have to simply add their usernames to the right groups (maybe directly by using a GUI) to have the functionalities they need?

I'm aware of the "do-it-yourself" guidelines of Arch, but in this case (and other cases like this) I think that the only thing an user have to do, after having installed the packages they need, is represented by the only adding the usernames to the right groups, not by editing files written in some *alien* languages and placed in some alien places in the filesystem, or searching for PKGBUILD on AUR that provides

If the problem (as i read in the other bug closed) is that the groups sometimes are too "general", and maybe someone want let an user only mount external storage units and not external, for example, let's simply create more different groups in order to allow a precise indication of what every username is allowed to do in the system.

I hope to have expressed my toughts clearly, sadly my English is not perfect. In the meantime, I'll install that AUR package and I hope that many other users will vote that one and in the future, at least that package will be included in official repositories.
Comment by Jan de Groot (JGC) - Monday, 14 February 2011, 08:32 GMT
IMHO this should be authorized by using consolekit. For users that are allowed to mount drives, shut down or suspend the system, etc, I don't see any harm in having the ability to change powermanagement settings.
Comment by Ulf Winkelvos (uwinkelvos) - Thursday, 03 March 2011, 01:07 GMT
I added a similar .pkla file to the desktop-privileges package and put a link to it in the wiki. But i subscripe to the view of Angelo and Jan: this should be default behaviour (for users of the power group).
Comment by Kamil (geekifier) - Thursday, 21 July 2011, 01:24 GMT
It would be nice if this was a default behavior in Arch. Is is silly to expect desktop users to know the arcane ways of configuring polkit.
Comment by Ionut Biru (wonder) - Thursday, 21 July 2011, 05:50 GMT
is silly to maintain ourself a working polkit rules.

https://bugzilla.gnome.org/show_bug.cgi?id=652128
Comment by Ionut Biru (wonder) - Tuesday, 06 December 2011, 17:14 GMT
with polkit 0.103-1 any user being in wheel group can use his password to be authorized, not the root password.

i'm going to close this bug as fixed.

Loading...