Bug 975541
Summary: | gksu-polkit will kill the program being run after a minute or so | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pokorný [poki] <jpokorny> | ||||||
Component: | gksu-polkit | Assignee: | Simone Caronni <negativo17> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 19 | CC: | dan.mashal, negativo17 | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | gksu-polkit-0.0.3-8.gitf8ce834c.fc18 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2013-08-04 00:01:59 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: | |||||||||
Attachments: |
|
Description
Jan Pokorný [poki]
2013-06-18 18:07:34 UTC
Created attachment 762591 [details] Full strace of what I quoted in [comment 0]. Can also be observed with arbitrary 'continuous' terminal program: $ gksu-polkit yes y y [... at some point, 'y' character is no longer printed] $ rpm -qf $(which gksu-polkit) gksu-polkit-0.0.3-6.fc18.x86_64 NB: I am aware there is newer package in testing, but the update does not touch the codebase as such. Hello, can you please test this build? http://slaanesh.fedorapeople.org/gksu-polkit/ The tarball in this package has been recreated from git sources; the orginal tarball at version 0.0.3 was never released and the URL it was pointing to does not exist anymore; so I can't understand where it did come from. This tarball, still at version 0.0.3 is quite different; so I guess it contains more fixes. Does this happen also with interactive commands? The example you pasted is with pango-view which is not interactive. Thanks, --Simone Simone, thanks for your activity. > Hello, can you please test this build? Gave it a test spin on my other machine (still F17, but the packages installed without any issue). Conclusion is that it didn't help for me and the same was observed - first it runs ok - after about a minute, the slave disappears, while... - original gksu-polkit command remains running in the terminal; does not react to any key stroke except for Ctrl-C/SIGINT upon which messages like this is shown (likely coming from DBus API): > ** (gksu-polkit:15228): WARNING **: Method invoked for SendSignal > returned FALSE but did not set error > Does this happen also with interactive commands? The example you pasted is > with pango-view which is not interactive. As already stated [comment 0], the primary target is (also) wireshark, if this is what you mean. The pango-view command was selected as it most probably does not require additional installation and demonstrates the correct privileges (/etc/sudoers is not readable beside root:root). Created attachment 777966 [details]
Fix for this bug
Gave it some more investigation ... and problem solved.
I've triggered an official build for all branches with your patch; it's currently building (gksu-polkit-0.0.3-8.gitf8ce834c). http://koji.fedoraproject.org/koji/packageinfo?packageID=14486 Please give a test and tomorrow evening I will push an update. Midnight here and tomorrow I'll be out of the office all day. Thanks for debugging! Regards, --Simone gksu-polkit-0.0.3-8.gitf8ce834c.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-8.gitf8ce834c.fc18 gksu-polkit-0.0.3-8.gitf8ce834c.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-8.gitf8ce834c.fc19 gksu-polkit-0.0.3-8.gitf8ce834c.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gksu-polkit-0.0.3-8.gitf8ce834c.fc17 I've pushed the update as the old CVE was reopened because of the bad patch in 0.0.3-6.fc18. As written in https://bugzilla.redhat.com/show_bug.cgi?id=987562#c6 basically this package never worked since its first import. Dbus name was wrong, service file was installed with a wrong name, the patch for the CVE fix was creating a patch file instead of patching the code; the source tarball did not exist anywhere. This since Fedora 17. Package gksu-polkit-0.0.3-8.gitf8ce834c.fc18: * should fix your issue, * was pushed to the Fedora 18 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-8.gitf8ce834c.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-13616/gksu-polkit-0.0.3-8.gitf8ce834c.fc18 then log in and leave karma (feedback). gksu-polkit-0.0.3-8.gitf8ce834c.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. gksu-polkit-0.0.3-8.gitf8ce834c.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |