Bug 865961

Summary: wipefs -a should use O_EXCL
Product: [Fedora] Fedora Reporter: David Zeuthen <davidz>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jonathan, kzak, mclasen, mluscon, rjones, satellitgo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 16:18:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.