Bug 443340 - Cannot change repository settings without re-entering root password
Summary: Cannot change repository settings without re-entering root password
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: PolicyKit
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: David Zeuthen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-20 21:26 UTC by Wesley Haines
Modified: 2013-03-06 03:55 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-04-21 01:57:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Wesley Haines 2008-04-20 21:26:33 UTC
Description of problem:
If I authenticate as root by going to any of the Administration tools (Date and
Time, Display, etc.) the authorization shield shows in the notification area. If
I then go to the Software Sources tool and try to enable/disable a repository,
PolicyKit fails to realize that I am already authenticated. It then requests the
root password for the following details: 

Application: (unknown)
Action: org.freedesktop.packagekit.repo-change
Vendor: The PackageKit Project


Version-Release number of selected component (if applicable):
PolicyKit-0.8-2.fc9.x86_64
PackageKit-0.1.12-4.20080416git.fc9.x86_64


How reproducible:
Every time.


Steps to Reproduce:
1. Authenticate as root by going to System -> Administration Tools -> Date &
Time (or most others) as a normal user
2. Go to System -> Administration -> Software Sources
3. Enable a repository
  
Actual results:
PolicyKit asks for root password even when the authenticated icon is in the
notification area.

Expected results:
PolicyKit gives permission to the action (repo-change) because my root
authentication is still active.

Comment 1 Matthias Clasen 2008-04-21 01:57:14 UTC
These are just different mechanisms. system-config-time uses the older
consolehelper approach to 'become root'. PolicyKit asks for authorization for
specific actions.

This leads to a somewhat suboptimal experience while the two systems coexist.
Over time, more things will use PolicyKit.


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