Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a way around polkit ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1650

PostPosted: Sun Aug 19, 2012 6:43 pm    Post subject: Is there a way around polkit ? Reply with quote

I have noticed that Polkit is a usability problem.
It uses a programing language (Java) for configs, is difficult to configure without any Gentoo documentation, and completely lacks a way to test rules.
It turns Gentoo into XP and adds allot more overhead than the older hal based systems.
In addition it prevents udisks-glue from functioning properly.
For example if udisks-glue is started as root from local and a user plugs in a usb device it wont be mounted in the plugdev group.
Polkit is generally not necessary for a single user system like a laptop and was designed for enterprise sysadmins.
Is there some sort of workaround for simple single user systems on older hardware?

I suppose I could check equery:

Code:
 * These packages depend on polkit:
gnome-base/gconf-2.32.4 (policykit ? sys-auth/polkit)
gnome-extra/polkit-gnome-0.101-r1 (>=sys-auth/polkit-0.101[introspection])
net-print/hplip-3.11.10 (policykit ? sys-auth/polkit)
sys-auth/consolekit-0.4.5-r1 (>=sys-auth/polkit-0.101-r1)
sys-auth/polkit-qt-0.99.0 (>=sys-auth/polkit-0.99)
sys-fs/udisks-1.0.4-r1 (>=sys-auth/polkit-0.97)
sys-power/upower-0.9.13-r1 (>=sys-auth/polkit-0.101-r1)


Thoughts ?
Edit well leave it to the minimalists over at puppy:
i just compiled this:
http://dl.dropbox.com/u/58347439/pup-vm/pup-volume-monitor-0.1.5.tar.gz

Discussion here:
http://www.murga-linux.com/puppy/viewtopic.php?t=78881

Edit well looking at the source it would need some work to run on gentoo.
I can compile it OK but it has a few puppy specific things to it.

I suppose I need to ditch udisks too:
http://igurublog.wordpress.com/2012/03/11/udisks2-another-loss-for-linux/

Well i decided to submit a bug to see if anyone is interested in migrating away from this *kit stuff:
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Aug 19, 2012 10:22 pm    Post subject: Re: Is there a way around polkit ? Reply with quote

turtles wrote:
workaround for simple single user systems on older hardware?

Stay with polkit 0.105 (thus no javascript), and keep an eye on what major distros such as Debian and Ubuntu do?
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1650

PostPosted: Mon Aug 20, 2012 12:37 am    Post subject: Reply with quote

I am not able to make current Polkit work with 104 or 105 work with sys-fs/udisks-glue.
And polkit provides no way to "debug" the custom rules needed to automaticly mount usb drives in the plugdev group.
I am thinking there should be another path for laptops with one user.

EDIT just thinking out of the box has anyone run devd on linux?

EDIT 2 Andriod does not have room for all the kitchensinkit stuff they have no udev even.

http://www.netmite.com/android/mydroid/development/pdk/docs/bring_up.html
Interesting
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum