Bug 1166570

Summary: mv on a hardlink issues unlink and causes file loss in case mv <a> <b> and mv <b> <a> race
Product: Red Hat Enterprise Linux 7 Reporter: Ondrej Vasik <ovasik>
Component: coreutilsAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: jscotka, kvolny, nbalacha, pbrady, qe-baseos-daemons, redhat, rgowdapp, srangana, vbellur
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: coreutils-8.22-13.el7 Doc Type: Bug Fix
Doc Text:
Cause: Due to a race condition in mv hardlink handlink,... Consequence: ...there was a possibility of data loss when doing multiple moves between hardlinked targets. Fix: mv behaviour was changed, so it now more follows POSIX and is better predictable. Result: Race in hardlink handling in mv can no longer occur.
Story Points: ---
Clone Of: 1141368 Environment:
Last Closed: 2015-11-19 12:44:54 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:
Bug Depends On:    
Bug Blocks: 1110700, 1141172, 1141368, 1142650, 1157667, 1191021    

Comment 5 errata-xmlrpc 2015-11-19 12:44:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2160.html