Mailinglist Archive: opensuse-bugs (3354 mails)

< Previous Next >
[Bug 980834] New: parted with --wipesignatures fails
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 20 May 2016 08:21:22 +0000
  • Message-id: <bug-980834-21960@http.bugzilla.suse.com/>
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@xxxxxxxxxxxxxxxxxxxxxx
Reporter: aschnell@xxxxxxxx
QA Contact: qa-bugs@xxxxxxx
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.
< Previous Next >