Bug 699233 - PolicyKit authentication does not work in F15 with classic gnome+compiz session
Summary: PolicyKit authentication does not work in F15 with classic gnome+compiz session
Alias: None
Product: Fedora
Classification: Fedora
Component: compiz
Version: 15
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: leigh scott
QA Contact: Fedora Extras Quality Assurance
Whiteboard: [cat:others]
Depends On:
TreeView+ depends on / blocked
Reported: 2011-04-24 12:37 UTC by Sandro Mani
Modified: 2012-08-07 16:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 953696 (view as bug list)
Last Closed: 2012-08-07 16:47:00 UTC
Type: ---

Attachments (Terms of Use)

Description Sandro Mani 2011-04-24 12:37:39 UTC
Description of problem:
Authentication constantly fails with Failed to obtain authentication.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Login using the classic gnome + compiz session
2. Try performing any action that requires polkit authentication
Actual results:
Always fails with "Failed to obtain authentication", password prompt is never shown.

Expected results:
Authentication works

Additional info:
dmesg does not contain any usefull info, i.e. just
Apr 24 14:33:09 PC4 dbus: [system] Activating service name='org.freedesktop.PackageKit' argv0='/lib64/dbus-1/dbus-daemon-launch-helper'
Apr 24 14:33:09 PC4 dbus: [system] Service 'org.freedesktop.PolicyKit1' is already active
Apr 24 14:33:09 PC4 dbus: [system] Successfully activated service 'org.freedesktop.PackageKit

Comment 1 Sandro Mani 2011-04-29 20:08:44 UTC
I located the problem as being that the authentication agent is never started.
On a F14 installation:
locate autostart | grep pol

On a F15 installation:
locate autostart | grep pol

polkit-gnome provides the /etc/xdg/autostart/polkit-gnome-authentication-agent-1.desktop file in F14 but not in F15.

Comment 2 Matthias Clasen 2011-05-02 17:30:42 UTC
You need to include an autostart file for polkit-gnome-authentication-agent in your compiz-gnome session. The autostart file shipped with gnome-session only starts the agent in the gnome fallback session.

Comment 3 Fedora Admin XMLRPC Client 2011-06-01 20:26:05 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Adam Spiers 2011-09-19 12:49:21 UTC
This is also an issue with GNOME+Openbox on Fedora 15.  I'm surprised it hasn't been fixed yet because it seems to stop any browser-based package installation from working.

Comment 5 Fedora End Of Life 2012-08-07 16:47:02 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:

Note You need to log in before you can comment on or make changes to this bug.