Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Lustre 2.6.0, Lustre 2.4.2, Lustre 2.7.0
-
None
-
- Client mainline kernel 3.12.5 with patches (mentioned in
LU-4400) / lustre-utils 2.4.2
- Servers lustre 2.4.2/ZFS OSDs and 2.4.2/ldiskfs OSDs
- ko2iblnd an ksocklnd
-
3
-
17443
Description
When executing the following simple script, the in-kernel client fails with error "Text file busy", while the out-of-kernel 2.4.2 client compiled against 2.6.32 vanilla works.
-----------
#!/bin/bash
rm -f ./test.sh
touch ./test.sh && chmod a+x ./test.sh
echo "echo foo" > ./test.sh
./test.sh
echo "echo foo" > ./test.sh
------------
The following script works in all cases:
-----------
#!/bin/bash
rm -f ./test.sh
touch ./test.sh && chmod a+x ./test.sh
echo "echo foo" > ./test.sh
bash ./test.sh
echo "echo foo" > ./test.sh
------------