Bug 493912

Summary: S-c-tools cleanup: port to PolicyKit
Product: [Fedora] Fedora Reporter: Roman Rakus <rrakus>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: i18n-bugs, jreznik, lnie, psatpute, tsmetana
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: system-config-language-2.2.0-3.fc20 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-30 23:21:09 UTC Type: ---
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: 493604    

Description Roman Rakus 2009-04-03 10:13:30 UTC
Description of problem:
It's not a good approach to let system config tool runn
under superuser account - it's a security risk. Instead
each tools which needs users privileges should be divided
to two parts - one which serves as privileged backend
running on demand and user interface that can ask for
privileged action over message bus (and ask password if 
needed). Once action is approved by PolicyKit, it can be
processed.

Every tool should be ported to use PolicyKit.

How reproducible:
Steps to Reproduce

Actual results:
System config tool has to be run under superuser account.

Expected results
System config tool is not runned under superuser account
and asks for privileged access. 

Additional info
Look at https://fedorahosted.org/python-slip/

Comment 1 Fedora Admin XMLRPC Client 2011-03-04 09:06:49 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Fedora Admin XMLRPC Client 2011-06-16 08:49:11 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2013-01-28 05:50:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Parag Nemade 2014-06-14 11:54:59 UTC
Fixed in system-config-language-2.1.0-1.fc21

Comment 6 Fedora Update System 2014-06-19 13:36:06 UTC
system-config-language-2.2.0-2.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/system-config-language-2.2.0-2.fc20

Comment 7 Fedora Update System 2014-06-19 22:57:01 UTC
Package system-config-language-2.2.0-2.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 system-config-language-2.2.0-2.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7516/system-config-language-2.2.0-2.fc20
then log in and leave karma (feedback).

Comment 8 lnie 2014-06-24 06:33:30 UTC
Tested with system-config-language-2.2.0-3.fc20 ,as the system-config-language-2.2.0-2.fc20 crashes all the time 
 
No GUI appears after the privileged access,only the following  message 
No protocol specified

** (system-config-language.py:2450): WARNING **: Could not open X display
No protocol specified
Unable to init server: Could not connect: Connection refused
No protocol specified
Unable to init server: Could not connect: Connection refused

(system-config-language.py:2450): Gtk-WARNING **: cannot open display: :0

Comment 9 Parag Nemade 2014-06-24 09:25:11 UTC
I am not able to reproduce above messages in GUI execution of system-config-language from gnome-terminal.

Comment 10 Fedora Update System 2014-06-30 23:21:09 UTC
system-config-language-2.2.0-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.