Bug 164380 - /etc/profile not sourced on login
/etc/profile not sourced on login
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: bash (Show other bugs)
4
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-27 10:47 EDT by Robert Finlon
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-07-27 14:14:31 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 Robert Finlon 2005-07-27 10:47:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
LD_LIBRARY_PATH is defined and exported in /etc/profile. Variable is blank after user login. Executing source /etc/profile recreates the variable and remains until the user logs out. Subsequent user logins require runnin source /etc/profile once again.

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

How reproducible:
Always

Steps to Reproduce:
1. Define and export LD_LIBRARY_PATH in /etc/profile
2. Log out and login again
3. Execute printenv and LD_LIBRARY_PATH will be empty.
  

Actual Results:  Programs depending on LD_LIBRARY_PATH can't find shared objects.

Expected Results:  Programs should find shared objects and execute properly.

Additional info:

Recently installed FC4 and downloaded kernel update.
Comment 1 Tim Waugh 2005-07-27 10:56:06 EDT
Please be more specific about how you are logging in and logging out.  If you
are using a graphical interface to log in, how are you invoking the shell prompt?
Comment 2 Robert Finlon 2005-07-27 13:40:32 EDT
Login and logout is through the GNOME graphical interface. The shell commands
are entered from a terminal window after logging in. The terminal window is
closed by clicking the X in the upper right corner of the terminal window.
Comment 3 Tim Waugh 2005-07-27 14:14:31 EDT
/etc/profile is only sourced for login shells.  You need to click select
Edit->Current Profile... from the terminal window menu, then go to the Title and
Command tab and select the 'Run command as login shell' checkbox.

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