Bug 448476

Summary: Missing profile environment after login
Product: [Fedora] Fedora Reporter: Enrico Scholz <rh-bugzilla>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: ovasik, rrakus, tsmetana, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-05 15:04:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2008-05-27 07:22:23 UTC
Description of problem:

F-9 does not seem to execute ~/.bash_profile anymore. E.g.

| $ ssh `hostname` set
| KRB5CCNAME=FILE:/tmp/krb5cc_1000_2TT2cj
| LOGNAME=ensc
| MACHTYPE=x86_64-redhat-linux-gnu
| ...
| PATH=/usr/local/bin:/bin:/usr/bin
| ...
| _=EMACS
| prefix=-sheridan.bigo.ensc.de
| [ensc@sheridan /]$ 

Doing the same for a F-8 host (with same $HOME), I get essential variables
like $LANG and $http_proxy which are defined by /etc/profile.d:

| $ ssh fc5 set
| KRB5CCNAME=FILE:/tmp/krb5cc_1000_3DD1Vf
| LANG=de_DE.UTF-8
| LC_COLLATE=C
| LESSOPEN='|/usr/bin/lesspipe.sh %s'
| LOGNAME=ensc
| MACHTYPE=i386-redhat-linux-gnu
| ...
| PATH=/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
| ...
| _=EMACS
| consoletype=serial
| ftp_proxy=http://www-cache:3128/
| http_proxy=http://www-cache:3128/
| https_proxy=http://www-cache:3128/
| no_proxy=bigo.ensc.de,127.0.0.1,localhost,localdomain
| prefix=-fc5.bigo.ensc.de
| [ensc@sheridan /]$ 


Similarly for an interactive login:

| $ echo set  | ssh `hostname`
| KRB5CCNAME=FILE:/tmp/krb5cc_1000_o9Ayck
| LANG=de_DE.UTF-8
| LC_COLLATE=C
| LESSOPEN='|/usr/bin/lesspipe.sh %s'
| LOGNAME=ensc
| MACHTYPE=x86_64-redhat-linux-gnu
| ...
|
PATH=/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin:/home/ensc/bin



This affects login through kdm into a xfce4 session too; there, the
"Start application" function (A-F2) uses a $PATH without $HOME/bin
(which is added by ~/.bash_profile).

Dunno whether 'setup' is the right component, perhaps it is bash.



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

bash-3.2-22.fc9.x86_64
setup-2.6.14-1.fc9.noarch


How reproducible:

100%

Comment 1 Roman Rakus 2008-11-05 15:04:54 UTC
Definitely bash.

*** This bug has been marked as a duplicate of bug 458839 ***