Bug 787194

Summary: kdesu envocation fails: Cannot execute command /usr/bin/partitionmanager-bin --dontsu
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kde-partitionmanagerAssignee: Mattia Verga <mattia.verga>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mattia.verga
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kde-partitionmanager-1.0.3-5.20120205svn.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-14 09:08:19 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:

Description Rex Dieter 2012-02-03 13:29:28 UTC
Try to run partitionmanager from commandline, get a kdesu prompt, enter password, get an error
Sorry KDE su:
Cannot execute command /usr/bin/partitionmanager-bin --dontsu

click "OK"

Then see a warning about not running with administrative privledges.

$ rpm -q kde-partitionmanager
kde-partitionmanager-1.0.3-5.20120130svn.fc16.x86_64

Comment 1 Mattia Verga 2012-02-03 17:53:19 UTC
I have reported this upstream, because it seems to me a bug in the way partitionmanager decide how run itself.
Running as regular user is redirect to the --dontsu option, but somehow it does this in a buggy way that triggers kdesu prompt anyway. If you run from commandline directly with --dontsu option this doesn't happen.

However in this way there's no way to run partitionmanager in a useful way: running as regular user triggers the --dontsu option, running as root user the program doesn't start. The only way is to run it from menu entry until upstream solves the bug.

Comment 2 Mattia Verga 2012-02-04 09:35:34 UTC
This is turning out as quite a fight between partitionmanager and kdesu developers... ;-)

For the moment it is possibile to run from commandline using either

kdesu partitionmanager-bin --dontsu

or

kdesu -c "partitionmanager-bin --dontsu"

I will let this bug open until someone (eventually) wins the fight and either change how partitionmanager invoke kdesu or ho kdesu interpret arguments passed to executable.

Comment 3 Fedora Update System 2012-02-05 12:37:03 UTC
kde-partitionmanager-1.0.3-5.20120205svn.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/kde-partitionmanager-1.0.3-5.20120205svn.fc16

Comment 4 Fedora Update System 2012-02-05 21:53:04 UTC
Package kde-partitionmanager-1.0.3-5.20120205svn.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kde-partitionmanager-1.0.3-5.20120205svn.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1367/kde-partitionmanager-1.0.3-5.20120205svn.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-02-14 09:08:19 UTC
kde-partitionmanager-1.0.3-5.20120205svn.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.