Bug 948613

Summary: "Unit gksu.service failed to load" as a result of internal path dependency mismatch
Product: [Fedora] Fedora Reporter: Jan Pokorný [poki] <jpokorny>
Component: gksu-polkitAssignee: Simone Caronni <negativo17>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: 19CC: dan.mashal, negativo17
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: gksu-polkit-0.0.3-7.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-20 02:28:21 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:

Description Jan Pokorný [poki] 2013-04-04 19:54:30 UTC
This bug (I believe it is) has already been observed as per
[bug 886671 comment 2], but I am missing either fix or at least
a dedicated bug report.

1. install gksu-polkit
2. as a standard user, try to use it (prerequisities: desktop env.):
   $ gksu-polkit -- pango-view /etc/sudoers


Result:

> Failed to run pango-view.
>
> Unit gksu.service failed to load: No such file or directory.
> See system logs and 'systemctl status gksu.service' for details.


Expected result:

Upon successful authentication with the user's password (not root),
pango-view program appears listing content of /etc/sudoers
(also demonstrates the root permissions as a standard user
is not privileged to read this file in F18).


Workaround to achieve expected result:

As in mentioned [bug 886671 comment 2]:
# cp /usr/lib/systemd/system/{gksu-polkit-systemd_unit,gksu.service}

IOW, path mismatch should be fixed in the source.

Comment 1 Jan Pokorný [poki] 2013-05-03 18:37:49 UTC
Also present in Fedora 19 (beta TC2).

$ rpm -qf $(which gksu-polkit)
gksu-polkit-0.0.3-5.fc19.x86_64

Comment 2 Jan Pokorný [poki] 2013-05-03 18:48:55 UTC
Also spotted elsewhere [1].

[1] http://forums.fedoraforum.org/showthread.php?p=1649999

Comment 3 Simone Caronni 2013-05-29 12:20:52 UTC
Can some proven packager please fix this? It's a very trivial fix.

Comment 4 Fedora Update System 2013-06-11 10:33:13 UTC
gksu-polkit-0.0.3-7.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-7.fc17

Comment 5 Fedora Update System 2013-06-11 10:33:37 UTC
gksu-polkit-0.0.3-7.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-7.fc18

Comment 6 Fedora Update System 2013-06-11 10:34:01 UTC
gksu-polkit-0.0.3-7.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-7.fc19

Comment 7 Simone Caronni 2013-06-11 10:35:11 UTC
Dan has kindly granted me commit access. Please test the update and give karma.

Regards,
--Simone

Comment 8 Fedora Update System 2013-06-11 17:55:00 UTC
Package gksu-polkit-0.0.3-7.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gksu-polkit-0.0.3-7.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-10552/gksu-polkit-0.0.3-7.fc19
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-06-20 02:28:21 UTC
gksu-polkit-0.0.3-7.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-06-20 02:29:15 UTC
gksu-polkit-0.0.3-7.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-06-29 18:19:09 UTC
gksu-polkit-0.0.3-7.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.