Bug 64161 - Inconsistent sourcing in of /etc/profile.d/*.sh files
Inconsistent sourcing in of /etc/profile.d/*.sh files
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2002-04-26 17:52 EDT by john.l.villalovos
Modified: 2007-04-18 12:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-04-26 17:52:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description john.l.villalovos 2002-04-26 17:52:51 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1)

Description of problem:
The /etc/profile script sources in files from /etc/profile.d/*.sh if they are

The /etc/bashrc script sources in files from /etc/profile.d/*.sh if they are

This leads to cases where things work in an "interactive login shell" but not in
a "interactive NON-login shell".  That is because if a *.sh file in
/etc/profile.d/ is readable but not executable it will be run in the login shell
but not in the non-login shell.

Version-Release number of selected component (if applicable):

How reproducible:

Additional info:
Comment 1 Florian La Roche 2002-07-20 02:52:31 EDT
Both are now sourcing if readable.

Thanks a lot,

Florian La Roche

Note You need to log in before you can comment on or make changes to this bug.