Bug 266913 - Commit 497cdf9673ec53d59634bb78862cd8dea3d5c155: /etc/profile: exclude also "*.csh" from /usr/local/etc/profile.d/
Summary: Commit 497cdf9673ec53d59634bb78862cd8dea3d5c155: /etc/profile: exclude also "...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: Dag-Erling Smørgrav
URL: https://cgit.freebsd.org/src/commit/?...
Keywords:
Depends on:
Blocks: 229473
  Show dependency treegraph
 
Reported: 2022-10-09 07:06 UTC by O. Hartmann
Modified: 2024-01-10 12:18 UTC (History)
3 users (show)

See Also:
linimon: mfc-stable13?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.