Bug 948613 - "Unit gksu.service failed to load" as a result of internal path dependency mismatch
Summary: "Unit gksu.service failed to load" as a result of internal path dependency mi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gksu-polkit
Version: 19
Hardware: All
OS: All
medium
high
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-04 19:54 UTC by Jan Pokorný [poki]
Modified: 2013-06-29 18:19 UTC (History)
2 users (show)

Fixed In Version: gksu-polkit-0.0.3-7.fc19
Clone Of:
Environment:
Last Closed: 2013-06-20 02:28:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 886671 0 high CLOSED CVE-2012-5617 gksu-polkit: privilege escalation due to improper authentication settings in policykit configuration file ... 2021-02-22 00:41:40 UTC

Internal Links: 886671

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.


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