Description of problem: sed on bind-mounted files fails in rename step. In previous versions this was fixed by using -c/--copy functionality which appears to have been removed in 4.2.1-4. Bind mounts are used in stateless systems for persistent data. Version-Release number of selected component (if applicable): 4.2.1-4 How reproducible: Always Steps to Reproduce: 1. touch file1 file2 2. mount --bind file1 file2 3. echo "test" > file1 4. sed -i "s/test/fail/g" file2 Actual results: sed: cannot rename ./sedfnZpvY: Device or resource busy Expected results: sed script completes. Additional info: As of 4.2.1-4, the -c/--copy options did not exist at all. Using them resulted in the printing of the help message. Using 4.2.1-5 from koji reintroduced the -c/--copy option support, but the above sed command still fails.
Created attachment 394943 [details] patch against sed 4.2.1
Any chance of this getting into Fedora 12 sometime in the near future?
sed-4.2.1-5.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/sed-4.2.1-5.fc13
sed-4.2.1-5.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/sed-4.2.1-5.fc12
sed-4.2.1-5.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update sed'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/sed-4.2.1-5.fc13
sed-4.2.1-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
sed-4.2.1-5.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.