Bug 865961 - wipefs -a should use O_EXCL
Summary: wipefs -a should use O_EXCL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-12 22:22 UTC by David Zeuthen
Modified: 2013-04-10 14:38 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:18:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Zeuthen 2012-10-12 22:22:39 UTC
... otherwise you can accidentally run this on a mounted filesystem or a block device in use by e.g. LUKS and RAID (if this is what you want, you should pass a special --force option or similar).

Comment 1 Karel Zak 2012-10-15 10:40:09 UTC
Fixed dy upstream commit c550f728f724360f99aae0fdb45b0589d9a347e0, Fedora package will be updated ASAP.

Comment 2 Fedora Update System 2012-11-01 09:41:38 UTC
util-linux-2.22.1-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/util-linux-2.22.1-2.fc18

Comment 3 Fedora Update System 2012-11-01 10:33:29 UTC
util-linux-2.22.1-2.1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/util-linux-2.22.1-2.1.fc18

Comment 4 Fedora Update System 2012-11-01 18:31:20 UTC
Package util-linux-2.22.1-2.1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing util-linux-2.22.1-2.1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17448/util-linux-2.22.1-2.1.fc18
then log in and leave karma (feedback).

Comment 5 Richard W.M. Jones 2012-11-06 13:11:46 UTC
I suspect this is the cause of bug 872831.

Comment 6 Richard W.M. Jones 2012-11-19 15:42:33 UTC
Patch posted to add --force option:
http://article.gmane.org/gmane.linux.utilities.util-linux-ng/6801

Comment 7 Fedora Update System 2012-12-20 16:18:13 UTC
util-linux-2.22.1-2.1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.