When trying to erase or format any media (I tried with SD card, and USB thunb drives), I get errors like these: Error deleting partition /dev/sdi1: Error spawning command-line `parted --script "/dev/sdi" "rm 1"': Failed to execute child process "parted" (No such file or directory) (g-exec-error-quark, 8) (udisks-error-quark, 0) Error wiping device: Error spawning command-line `wipefs -a /dev/sdi': Failed to execute child process "wipefs" (No such file or directory) (g-exec-error-quark, 8) (udisks-error-quark, 0) Both utilities are in system: werewolf:~> which parted wipefs /usr/sbin/parted /sbin/wipefs It seems to have some problems with paths...
Hi, thanks for reporting this bug. Assigned to the package maintainer. (Please set the status to 'assigned' if you are working on it)
Keywords: (none) => TriagedAssignee: bugsquad => jani.valimaa
(In reply to comment #0) > It seems to have some problems with paths... Yes, created symlinks to /usr/bin/ and it works. Need to do some more investigation about this one..
Status: NEW => ASSIGNED
Actually I think the problem comes from udisks2 as g-d-u doesn't call directly wipefs or parted. CC'ing Funda.
CC: (none) => fundawangSource RPM: gnome-disk-utility-3.3.90-3.mga2.src.rpm => udisks2-1.90.0-2.mga2.src.rpm
I guess we will need to use consolehelper for parted and wipefs to get this problem solved.
I've submitted new udisks2, with patch from upstream. Hope it could fix this problem with using consolehelper. The big problem is that parted and wipefs is so dangerous that we might want to regular users to touch it.
ah, Sorry, it should read: I've submitted new udisks2, with patch from upstream. Hope it could fix this problem without using consolehelper. The big problem is, parted and wipefs are so dangerous that we might do not want to regular users to touch them.
It works with new udisks2. So, I'm closing this as fixed. And what comes to "security problem", it asks roots password if you're trying to format hard disks. User can only format removable devices such as USB-drives without entering root password.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED