Red Hat Bugzilla – Bug 502714
switch to using PolicyKit
Last modified: 2013-03-13 01:45:12 EDT
Description of problem:
usermode/consolehelper is deprecated since Fedora has a better framework now called PolicyKit. Please switch to using that instead
No switching to another framework is not the solution here.
The reason this app requires root privileges is that it sends vendor specific SCSI commands that may be harmful when sent to a device that does not support it.
I have made the kernel SCSI cmdfilter user space configurable during the 2.6.27 development cycle.
With this filter we can simply allow the commands for the supported devices and qpxtool should work fine as a user.
Unfortunately the sysfs part of the command filter has been commented out (i.e. disabled) before the release of the kernel 2.6.27, due to kobject related bugs.
Since than nobody (me included) tried to fix this, the infrastructure is still in the kernel but the user space interface is not enabled.
So instead of wasting time/effort on porting this to PolicyKit time should be spent to fix the kernel interface (I might get some free time to do this for F12, but can't promise anything).
As always patches welcome ;)
Closing this WONTFIX because I wont waste my time replacing a hack with another one.