Bug 299221
| Summary: | less breaks if its startup script outputs anything | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Jack Neely <jjneely> | ||||
| Component: | setup | Assignee: | Phil Knirsch <pknirsch> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 5.0 | CC: | jjneely, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-02-22 16:17:09 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: | 202468 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Jack Neely
2007-09-20 20:17:32 UTC
This is caused by a processing of scripts /etc/profile.d/* in non-interactive mod of tcsh. When tcsh is executed, then all scripts in /etc/profile.d/*.csh are executed too. Even in non-interactive mod. But in this mod, tcsh should not execute those scripts. This bad behavior leads to problems, because a less is confused. Then the less accepts as a input a text from echo instead a text from /etc/hosts. The solution is to reflect non-interactive mod in /etc/csh.cshrc. I'll attach a patch, which solve this. Zdenek Created attachment 265931 [details]
patch to fix non-interactive mod of tcsh
Thanks, including fix in next rawhide package. Read ya, Phil |