FS#34682 - [polkit-gnome] should autostart only in gnome-fallback session
Attached to Project:
Arch Linux
Opened by Balló György (City-busz) - Monday, 08 April 2013, 14:46 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 03 September 2013, 19:29 GMT
Opened by Balló György (City-busz) - Monday, 08 April 2013, 14:46 GMT
Last edited by Laurent Carlier (lordheavy) - Tuesday, 03 September 2013, 19:29 GMT
|
Details
Currently there are more than one GNOME session provide a
polkit authentication agent itself (gnome, cinnamon,
cinnamon2d, gnome-classic), and starting
polkit-gnome-authentication-agent in these sessions may lead
to race condition. E.g. the
polkit-gnome-authentication-agent register itself before
Cinnamon could do this with its own client.
So please revert this commit and use 'AutostartCondition=GNOME3 if-session gnome-fallback' again: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/polkit-gnome&id=0ad461cc2ee7e17b2e63d5d098b6b820919e98bf Additional info: * package version(s) polkit-gnome 0.105-1 cinnamon 1.7.3-2 Steps to reproduce: Start cinnamon session with and without gnome-polkit installed, and try to run a privileged action, e.g. 'pkexec true'. |
This task depends upon
Closed by Laurent Carlier (lordheavy)
Tuesday, 03 September 2013, 19:29 GMT
Reason for closing: Fixed
Additional comments about closing: polkit-gnome 0.105-2
Tuesday, 03 September 2013, 19:29 GMT
Reason for closing: Fixed
Additional comments about closing: polkit-gnome 0.105-2
AutostartCondition=GNOME3 if-session gnome-flashback
- gnome-polkit is no longer autostarted, the .desktop file is installed into /usr/share/applications/ directory. I had to keep the .desktop file for the gnome-flashback-session.
- gnome-polkit is added to the required components of gnome-flashback-session, so GNOME Flashback users are won't be affected by this change.
- lxpolkit added to the [community] repository as a lightweight alternative to polkit-gnome. It autostarts everywhere except in GNOME and KDE. It's the suggested agent for Xfce and LXDE. It's part of the lxde group.
- An overview about the available polkit authentication agents is added to polkit's wiki page: https://wiki.archlinux.org/index.php/Polkit#Authentication_agents