Bug 787194 - kdesu envocation fails: Cannot execute command /usr/bin/partitionmanager-bin --dontsu
Summary: kdesu envocation fails: Cannot execute command /usr/bin/partitionmanager-bin ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-partitionmanager
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mattia Verga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-03 13:29 UTC by Rex Dieter
Modified: 2012-02-14 09:08 UTC (History)
1 user (show)

Fixed In Version: kde-partitionmanager-1.0.3-5.20120205svn.fc16
Clone Of:
Environment:
Last Closed: 2012-02-14 09:08:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
KDE Software Compilation 293229 0 None None None Never

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.


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