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....

Reply via email to