Description of problem: I want to use gnome-disk-utility to format my USB HDD. The formatting seems to perform fine, but there is an error message. It worries me, since the disk hosts my backup data. Version-Release number of selected component (if applicable): Disk uitlity 3.0 on Fedora 15 LXDE How reproducible: Always Steps to Reproduce: 1. Plug-in a USB disk drive 2. Format it in Ext4 Actual results: Error creating partition An error occurred while performing an operation on "80 GB Hard Disk" (SAMSUNG MP0804H): The operation failed Detail: Error creating file system: helper exited with exit code 1: cannot create directory /var/run/udisks/job-mkfs-ZxDO88: No such file or directory Expected results: To be able to format my USB drive with this GUI tool, without worrying. Additional info: Just after formatting the device, I changed the permission (chown root:root > user:user). it returned a SELniux bug report: Process /usr/bin/palimpsest was killed by signal 11 (SIGSEGV) See: https://bugzilla.redhat.com/show_bug.cgi?id=728816 I believe these to bug are interconnected? URGENT QUESTION/ADVICE: Can I use the USB HDD as is (ignoring the error) to backup my files, or should I reformat the disk using gpart?
There is an upstream bug report marked as won't fix https://bugs.freedesktop.org/show_bug.cgi?id=24265 Is it a Fedora problem?
The problem is that /var/run/udisks, as owned by the udisks package, is hidden because the OS started mounting /var/run as a tmpfs. The fix, I've been told, is to use the /etc/tmpfiles.d mechanism
what avc do you see in your /var/log/audit/audit.log related to this issue?
Sorry, I erronously assigned it to selinux - my bad. Back to udisks.
udisks-1.0.3-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/udisks-1.0.3-3.fc15
thanks for the update David, I will install it, once it's been pushed. (In reply to comment #2) > because the OS started mounting /var/run as a tmpfs. The fix, I've been told, > is to use the /etc/tmpfiles.d mechanism that won't be necessary with the update, I presume, but do you have the link for reference: How do I change /var/... to /etc/... thanks.
(In reply to comment #6) > thanks for the update David, I will install it, once it's been pushed. > > (In reply to comment #2) > > because the OS started mounting /var/run as a tmpfs. The fix, I've been told, > > is to use the /etc/tmpfiles.d mechanism > > that won't be necessary with the update, I presume, but do you have the link > for reference: How do I change /var/... to /etc/... thanks. The update contains the /etc/tmpfiles.d/udisks.conf file that does the right thing. You don't need to do anything.
Package udisks-1.0.3-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing udisks-1.0.3-3.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/udisks-1.0.3-3.fc15 then log in and leave karma (feedback).
Created attachment 520265 [details] /var/log/message I have installed udisks-1.0.3-3.fc15 and reformatted the USB HDD there is still an error message: Error creating file system: helper exited with exit code 1: cannot create directory /var/run/udisks/job-mkfs-nHaN1M: No such file or directory I attached the message log (usb operation is at the end of the file).
Created attachment 520317 [details] audit.log
I would bet /var/run/udisks needs to be created by systemd?
(In reply to comment #11) > I would bet /var/run/udisks needs to be created by systemd? No, udisks 1.0.4 and later (fc16 only) will actually create this itself at startup in the udisks-daemon process (1.0.3-3.fc15 is creating it via /etc/tmpfiles.d e.g. systemd).
(In reply to comment #9) > Created attachment 520265 [details] > /var/log/message > > I have installed udisks-1.0.3-3.fc15 and reformatted the USB HDD > > there is still an error message: > > Error creating file system: helper exited with exit code 1: cannot create > directory /var/run/udisks/job-mkfs-nHaN1M: No such file or directory > > I attached the message log (usb operation is at the end of the file). 1. Please try this after a reboot 2. Please try this with selinux in permissive mode
(In reply to comment #13) > 1. Please try this after a reboot Fixed the issue. Tested with a USB hd and a USB stick both formatted ext4/fat32. > 2. Please try this with selinux in permissive mode It was not necessary. Thanks again for your time and advice (your last msg.)
udisks-1.0.3-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.