Bug 266913

Summary: Commit 497cdf9673ec53d59634bb78862cd8dea3d5c155: /etc/profile: exclude also "*.csh" from /usr/local/etc/profile.d/
Product: Base System Reporter: O. Hartmann <ohartmann>
Component: binAssignee: Dag-Erling Smørgrav <des>
Status: Closed FIXED    
Severity: Affects Many People CC: des, emaste, grahamperrin
Priority: --- Flags: linimon: mfc-stable13?
Version: CURRENT   
Hardware: Any   
OS: Any   
URL: https://cgit.freebsd.org/src/commit/?id=497cdf9673ec53d59634bb78862cd8dea3d5c155
See Also: https://reviews.freebsd.org/D36505
https://reviews.freebsd.org/D37034
Bug Depends on:    
Bug Blocks: 229473    

Description O. Hartmann 2022-10-09 07:06:03 UTC
Commit 497cdf9673ec53d59634bb78862cd8dea3d5c155 introduces a new /etc/profile reading more sh profiles, also those put into /usr/local/etc/profile.d/.

On working hosts with some special ports installed, ${LOCALBASE}/etc/profile.d/ is also populated with a set of sh/ksh/bash configuration files ending in *.sh as well as those for csh/tcsh, ending in *.csh accordingly, like these ports I'm aware of:

lang/gawk (gawk.{sh|csh})
x11-toolkits/vte3 (vte.{sh|csh}

The existence of *.csh files in folder results in unpleasant errors during a full login.
Comment 1 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2022-10-18 13:37:49 UTC
See https://reviews.freebsd.org/D37034
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2024-01-10 04:26:54 UTC
^Triage: assign to committer of D37034.
Comment 3 Dag-Erling Smørgrav freebsd_committer freebsd_triage 2024-01-10 12:18:52 UTC
Fixed by 8d7221ca2dd5.