Bug 64161 - Inconsistent sourcing in of /etc/profile.d/*.sh files
Inconsistent sourcing in of /etc/profile.d/*.sh files
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: fileutils (Show other bugs)
7.2
All Linux
medium Severity medium
: ---
: ---
Assigned To: wdovlrrw
Aaron Brown
:
Depends On:
Blocks:
  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:
Environment:
Last Closed: 2002-04-26 17:52:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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)
Gecko/20020417

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

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

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:
Always

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.