Bug 1180283
| Summary: | bashrc should reflect new bash-4.3 behaviour to retain matching output | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chad Feller <cfeller> | ||||
| Component: | setup | Assignee: | Ondrej Vasik <ovasik> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 21 | CC: | admiller, ooprala, ovasik, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | setup-2.9.0-4.fc21 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-03-06 07:00:46 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: | |||||||
| Attachments: |
|
||||||
|
Description
Chad Feller
2015-01-08 18:55:16 UTC
I should also note, that within my shell that my bash prompt properly displays "~" when I am in my home directory. It is just what it is exporting to the terminal window (in this case Konsole), is incorrect. I was able to confirm the same behavior when SSH'ing in from Mac OS X. Opening a Terminal.app window (on OS X) and SSH'ing to a Fedora 21 box will set the path portion of the window title in the same way (expanded absolute path), whereas SSH'ing into a Fedora 20 box sets the window title the correct way (with a "~" for the home directory). Final note: the same behavior can be observed on a regular xterm window, as well. Thanks for the heads up, this is caused by an intentional change in bash-4.3, so the code in /etc/bashrc gives a different result. Since we provide the /etc/bashrc file via the setup package, I'll reassign. To setup guys: Please find attached a patch for bashrc. The only change is an escaped tilde which now correctly gets expanded. However, the bashrc code relies on the old behaviour. Created attachment 980047 [details]
bashrc patch
Thanks for reassign and patch, Ondrej. setup-2.9.0-4.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/setup-2.9.0-4.fc21 Package setup-2.9.0-4.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing setup-2.9.0-4.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2502/setup-2.9.0-4.fc21 then log in and leave karma (feedback). setup-2.9.0-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |