Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Have to source etc/profile after every boot - why?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Sun Feb 09, 2003 7:20 pm    Post subject: Have to source etc/profile after every boot - why? Reply with quote

Hi folks,

I'm trying to repair a badly damaged gentoo install (root cause still unknown). I am in the midst of my third kernel recompile (forgot to make mrproper - dang!).

Thing is, I note that every time I reboot, I need to retype source /etc/profile to get my assorted environment settings back. Don't recall having to do that more than once before.

Anyone care to put me on the path to enlightenment?

[edit]
Oh, and please, no "emerge enlightenment" jokes ... :-)
[/edit]
Back to top
View user's profile Send private message
ozric100
Tux's lil' helper
Tux's lil' helper


Joined: 23 Apr 2002
Posts: 136

PostPosted: Sun Feb 09, 2003 7:39 pm    Post subject: Reply with quote

1. Check amd make sure you have a shell defined in the /etc/passwd file.
like so cat /etc/passwd | grep -i <user name> default is bash in Linux.

2. Delete or backup your ~/.profiles ie: .bashrc and .bash_profile or .kshrc.

3. Copy /etc/skel/.bach* files back to your ~/.

4. Log out and back in, test.

5. If that does not fix it .... ask someone else for help!
Back to top
View user's profile Send private message
aja
l33t
l33t


Joined: 26 Aug 2002
Posts: 705
Location: Edmonton, Canada

PostPosted: Mon Feb 10, 2003 4:25 am    Post subject: Reply with quote

I'll try that. Thanks. The problem's gotten moved to the back burner by some segfaults. Time to test the hardware....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum