Bug 603706

Summary: cifs: busy file renames across directories should fail with error
Product: Red Hat Enterprise Linux 5 Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: yanfu,wang <yanwang>
Severity: medium Docs Contact:
Priority: high    
Version: 5.5CC: jlayton, sprabhu, steved, tao, yanwang
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 591938
: 603707 (view as bug list) Environment:
Last Closed: 2011-01-13 21:37:12 UTC Type: ---
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: 591938, 603707    
Bug Blocks:    

Comment 2 RHEL Program Management 2010-06-14 13:29:00 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Jarod Wilson 2010-07-12 15:47:00 UTC
in kernel-2.6.18-206.el5
You can download this test kernel from http://people.redhat.com/jwilson/el5

Detailed testing feedback is always welcomed.

Comment 6 yanfu,wang 2010-10-21 08:14:33 UTC
can reproduced on rhel5-u5:
[root@amd-ma78gm-02 mnt]# ls -l
total 0
-rwxrwSrwx 1 root root 1528 Oct 21  2010 aa
drwxrwxrwx 2 root root    0 Oct 21  2010 done
[root@amd-ma78gm-02 mnt]# mv aa done/bb
[root@amd-ma78gm-02 mnt]# ls -l
total 4
-rwxrwSrwx 1 root root 2512 Oct 21  2010 bb
drwxrwxrwx 1 root root    0 Oct 21  2010 done
[root@amd-ma78gm-02 mnt]# ls -l done/
total 0

verified on RHEL5.6-Server-20101014.0 on i386 and x86_64:
# mv aa done/bb
mv: cannot move `aa' to `done/bb': Text file busy
# uname -a
Linux dell-t5500-01.lab.bos.redhat.com 2.6.18-227.el5 #1 SMP Tue Oct 12 18:50:50 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Comment 8 errata-xmlrpc 2011-01-13 21:37:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0017.html