tommiy wrote:
> 
> Anyone else noticed that the startup script for mandrake appear to be
> slightly stuffed?
> 
> Just look at /etc/bashrc for instance..... it checks to ensure that the
> /etc/profile file has started by using a variable. Now start an X
> session and look at a users path (not root) then start a terminal
> session and look at the path....see something different...the x session
> has the path repeated a number of times....anything from 2 to 3....
> weird why they did this...i know what they were trying to achieve but it
> doesn't work.
> 
> Look at .bashrc which in itself calls /etc/bashrc...but hang on it has
> never called /etc/profile so the variable PROFILE_LOADED hasn't been set
> so /etc/bashrc runs /etc/profile again and adds to the path yet
> again....cumaltive effect....

Old problem, unfortunately.  It would appear that noone at Mandrake has
taken the time to read the bash manpages to find out how the /etc/bashrc
and /etc/profile scripts are supposed to be used and which login types
they're used for.  Damn annoying...

-- 
Steve Philp, MCSE/MCP+I
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]

Reply via email to