Tomas Rett schrieb am Thu, 2 Oct 2003 10:20:35 +0200: > Hi listers ! > > I have the same problem as Bjorn (see bellow). When I started to X11 > by init 5, the PATH is set as /usr//bin:/bin:/usr/bin:: , i.e. > incorrectly. When I start without X11 by init 3, the PATH is se > correctly, as described in the man login. When I su - username, the > PATH is also set correctly. > > What is wrong ? I see no problems in the /etc/rc.d scripts .
This is a rather old and known thing. I stumbled over the same thing in May this year and started a thread in the mandrake newsgroup. Go to http://groups.google.com and there to alt.os.linux.mandrake Search for the thread "Path variable - where is it set?". Posting 16 and 17 hold the answers although the complete thread is worth reading. In short: Chris F.A. Johnson ([EMAIL PROTECTED]) writes: The double slash should not affect anything; it will be interpreted as a single slash. The double colon adds the current directory to the path, as would a leading or trailing colon. That is not good, and it should be fixed. Phil Edwards ([EMAIL PROTECTED]) writes: This has been an unresolved bug since Mandrake 8.2. Go look in: /usr/share/config/kdm/kdmrc This is where the $PATH with "::" is being set. So you may leave the double slash because it does no harm. Goto the kdmrc and fix the double colon fault and that's it. I can't look it up in my 9.2RC2 because I switched to GNOME. I don't have this PATH fault here. wobo
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
