Bug 1094124

Summary: realmd polkit policy is desktop centric
Product: [Fedora] Fedora Reporter: Stef Walter <stefw>
Component: realmdAssignee: Stef Walter <stefw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: jhrozek, stefw, yelley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: realmd-0.14.6-5.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-28 03:26:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1094121, 1091301, 1108258    

Description Stef Walter 2014-05-05 06:29:12 UTC
Description of problem:

The realmd polkit policy is completely desktop-centric and expects that the user (admin or not) is logged in an active local session (ie: a seat in logind parlance, with a monitor and keyboard).

This prevents admin (but non-root) use of realmd when logged in via ssh (and using pkttyagent as your polkit agent) or via Cockpit.

The <allow_any> tag in polkit policy applies to non-local sessions. It should be set to something other than 'no' unless the action directly affects hardware of the login seat.

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

realmd-0.14.6-4.fc20.x86_64

How reproducible:

Every time.

Comment 1 Fedora Update System 2014-07-16 13:49:51 UTC
realmd-0.14.6-5.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/realmd-0.14.6-5.fc20

Comment 2 Fedora Update System 2014-07-17 04:32:59 UTC
Package realmd-0.14.6-5.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing realmd-0.14.6-5.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-8438/realmd-0.14.6-5.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-07-28 03:26:23 UTC
realmd-0.14.6-5.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.