Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 361025 - gnome-extra/polkit-gnome-0.101-r1 - error in polkit-gnome-authentication-agent-1.desktop
Summary: gnome-extra/polkit-gnome-0.101-r1 - error in polkit-gnome-authentication-agen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Nirbheek Chauhan (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-03-29 00:16 UTC by Marko D
Modified: 2011-04-04 14:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xsession-errors (.xsession-errors,1.08 KB, text/plain)
2011-03-30 01:39 UTC, Marko D
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko D 2011-03-29 00:16:22 UTC
The file polkit-gnome-authentication-agent-1.desktop (installed by gnome-extra/polkit-gnome-0.101-r1) has invalid values in the last row:

AutostartCondition=GNOME3 if-session gnome-fallback

With this entry, no application compiled with (or using) polkit will show an authentication dialog. For example virt-manager or cpufreq-selector will not show any authentication dialog. If the entry above is removed, then the authentication dialog is functional.

Gnome version: 2.32.1

Reproducible: Always
Comment 1 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-03-29 05:41:58 UTC
Could you paste your ~/.xsession-errors?
Comment 2 Marko D 2011-03-30 01:39:15 UTC
Created attachment 267757 [details]
xsession-errors
Comment 3 Lee Trager 2011-04-04 05:52:26 UTC
I can confirm the same thing is happening for me. As soon as I remove that or I manually start /usr/libexec/polkit-gnome-authentication-agent-1 virt-manager asks me for my root password when I open it. Also I looked in /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop on my Fedora machine with GNOME 2.30 and it does not have the AutostartCondition.
Comment 4 Nirbheek Chauhan (RETIRED) gentoo-dev 2011-04-04 10:17:28 UTC
Alright, I'll fix this today, thanks for confirming.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-04 14:52:27 UTC
+*gnome-session-2.32.1-r2 (04 Apr 2011)
+
+  04 Apr 2011; Gilles Dartiguelongue <eva@gentoo.org>
+  +gnome-session-2.32.1-r2.ebuild,
+  +files/gnome-session-2.32.1-gnome3-conditions.patch:
+  Add support for GNOME 3 conditions, thanks to Nirbheek, bug #361025.
+
Thanks for reporting.