Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 65764 - /etc/profile.d scripts run twice with rxvt
/etc/profile.d scripts run twice with rxvt
Product: Red Hat Linux
Classification: Retired
Component: setup (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2002-05-31 11:30 EDT by Michael McLagan
Modified: 2014-03-16 22:27 EDT (History)
1 user (show)

See Also:
Fixed In Version: 2.5.34-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-23 01:38:13 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 Michael McLagan 2002-05-31 11:30:51 EDT
Description of Problem:
When bash is invoked as a subshell, the scripts in /etc/profile.d are run

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

How Reproducible:

Steps to Reproduce:
1. edit profile, insert 'echo "profile: $i"' into for loop 
2. edit bashrc, insert 'echo "bashrc: $i"' into for loop
3. rxvt -ls -sr -fg white -bg black -fn 7x14 -sl 1024

Actual Results:
scripts are run twice -- if you create a 'fortune.sh' to run fortune mod
it becomes even more obvious

Expected Results:
scripts should not be run twice, only one set -- profile or bashrc is run

Additional Information:
it's most likely the -ls that's triggering this behavior
Comment 1 Bill Nottingham 2004-09-23 01:38:13 EDT
This will be fixed in 2.5.34-1.

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