[Bug 980834] New: parted with --wipesignatures fails
http://bugzilla.suse.com/show_bug.cgi?id=980834 Bug ID: 980834 Summary: parted with --wipesignatures fails Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: aschnell@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I have to build util-linux and parted myself to test the new parted option --wipesignatures. Using parted with that option fails with the error: # parted --script --wipesignatures /dev/sdb mkpart a ext4 1MiB 1025MiB Error: Partition(s) 1 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. AFAIS opening and closing the disk device to run blkid_do_probe/wipe triggers udev events that cause the device to be busy when parted wants to inform the kernel. Adding a sleep(10) after the close in parted-implement-wipesignatures-option.patch resolved to issue (as a workaround). Maybe it would be better to move the wiping to libparted and use the already existing file descriptor to not cause extra udev events. This bug prevents finishing fate #319893 since commiting the new code to the libstorage repository will cause failures in openQA testing of openSUSE. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=980834
Arvin Schnell
http://bugzilla.suse.com/show_bug.cgi?id=980834
Arvin Schnell
http://bugzilla.suse.com/show_bug.cgi?id=980834
http://bugzilla.suse.com/show_bug.cgi?id=980834#c6
Arvin Schnell
participants (1)
-
bugzilla_noreply@novell.com