Hide Forgot
Description of problem: The "rm *" is no longer functioning. It stuck the shell and you have to press Control-C to continue. The issue is possibly related to "rmstar" tcsh option. Version-Release number of selected component (if applicable): tcsh-6.19.00-10.fc24.x86_64 How reproducible: Issue "rm *" Steps to Reproduce: 1. Enter a directory that you would like to remove all files 2. Issue "rm *" 3. Answer with "y" to the question "Do you really want to delete all files? [n/y]" Actual results: The shell stuck. Expected results: The shell should have remove all files and the prompt should have returned. Additional info: Adding the -f option works fine and it can be used as a workaround. The "rmstar" tcsh option is also set to prompt. If it is not set, then the problem cannot be reproduced.
Thanks for the report. Seems like this works with vanilla source build. However, since I'm currently very busy and this issue has a workaround, I can't guarantee any ETA when this will be fixed. Thanks for your understanding. :) Dee'Kej
Hello, I have informed upstream about this issue: http://mx.gw.com/pipermail/tcsh-bugs/2016-November/001099.html It is caused by using 'hardened build' in Fedora, which is requirement for such a program like tcsh or bash: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE Therefore, unless upstream decides to fix this issue (I currently don't have time to look into this more), I will have to close this BZ as WONTFIX. I'm very sorry for the incovenience. Dee'Kej
(In reply to David Kaspar [Dee'Kej] from comment #2) > I have informed upstream about this issue: > http://mx.gw.com/pipermail/tcsh-bugs/2016-November/001099.html Hint: tcsh just continues to read from its input. If you press <ENTER> followed by ^D to signal EOF, the y/n answer is parsed correctly. > It is caused by using 'hardened build' in Fedora, which is requirement for > such a program like tcsh or bash: > https://fedoraproject.org/wiki/Packaging:Guidelines#PIE If it is really the case, then the code contains undefined behavior that needs to be fixed. Obviously, this is not an expected side effect of those hardening flags. > Therefore, unless upstream decides to fix this issue (I currently don't have > time to look into this more), I will have to close this BZ as WONTFIX. Definitely not an (acceptable) excuse. Please do not close this bug until it is fixed. This looks like a severe regression. I tried tcsh-6.19.00-4.fc24 and it does not seem to suffer from this bug.
(In reply to Kamil Dudka from comment #3) > Hint: tcsh just continues to read from its input. If you press <ENTER> > followed by ^D to signal EOF, the y/n answer is parsed correctly. Oh, I haven't noticed that. Thanks for bringing that up. > If it is really the case, then the code contains undefined behavior that > needs to be fixed. Obviously, this is not an expected side effect of those > hardening flags. I will inform upstream about this and see what can be done in this matter. > Definitely not an (acceptable) excuse. Please do not close this bug until > it is fixed. This looks like a severe regression. I tried > tcsh-6.19.00-4.fc24 and it does not seem to suffer from this bug. I see the severity of this issue now, I will update my schedule according to this. Don't worry, I will not close this BZ until this is fixed. Thanks.
Fixed in: http://pkgs.fedoraproject.org/cgit/rpms/tcsh.git/commit/?id=836b388e1e642aadff4a
tcsh-6.19.00-15.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a4def0fd73
tcsh-6.19.00-11.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4f7b2ea19b
tcsh-6.19.00-16.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-218010b3b0
tcsh-6.19.00-16.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-218010b3b0
tcsh-6.19.00-11.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4f7b2ea19b
tcsh-6.19.00-17.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-76e4455d01
tcsh-6.19.00-12.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba395af532
tcsh-6.19.00-17.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-76e4455d01
tcsh-6.19.00-12.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba395af532
tcsh-6.19.00-12.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
tcsh-6.19.00-17.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.