Red Hat Bugzilla – Bug 488850
devkit-disks --inhibit broken parameter handling
Last modified: 2009-03-16 20:52:02 EDT
Bug #488756 DeviceKit interferes with livecd-creator
It was suggested that "devkit-disks --inhibit" be used to prevent GNOME from mounting the temporary device mapper device that can cause livecd-creator to fail.
devkit-disks --inhibit -- /bin/true
devkit-disks --inhibit -- /bin/true -foo
This fails with:
Error launching program: Failed to execute child process "--" (No such file or directory)
devkit-disks isn't handling parameters properly.
Here is the relevant quote from the g_option_context_parse() docs:
A '--' option is stripped from argv unless there are unparsed options before and after it, or some of the options after it start with '-'.
I've put a patch in our rpm. Leaving this bug open so David sees it when he returns.
David, do you want to move this patch upstream and close this bug ?