[plug] severe RH9 breakage

Craig Ringer craig at postnewspapers.com.au
Fri May 23 20:54:29 WST 2003


Hi folks

I'm a bit confused here, and I though't I'd see if anybody has run into
this before. I just set up LDAP authentication on my home box, same as
on the RH8 server @work - I just used authconfig. Worked as expected....
except it mangles my PATH. Badly. Inserts total gibberish into it.

If I disable pam_env or even just comment out the PATH default in
/etc/security/pam_env.conf it goes away, but it just doesn't make sense.

The same problem happened for both X11(gdm) and console logins. I
disabled LDAP, and now my console logins are fine - but gdm logins are
still broken.

Here's an example of a PATH I get:

PATH=/bin:/us0žÿ¿r/X11R6/bin:/usrP9
Àžÿ¿</local/A˜ð(@<crobat5/bin:/usr/local/icewm/bin:/usr/bin:/bin:/usr/loca€l@,X@g/b<Оÿ¿¾i@´=À?n:/sbin:/usìÖ)@Ÿÿ¿¥ÿ¿Øžÿ¿®")@1.0.168.192.in-addr.arpa.r)@ìÖ)@/sb¥ÿ¿8£ÿ¿ÞX)@Ÿÿ¿in:/us¯ÿ¿³ÿ¿ç(@<r/l>,X@Ÿÿ¿ÿÿÿÿalbert.localneto(ì(@ Ÿÿ¿ ;cal?/sbin:/usr/X11R6/bin:/home/craig/bin:/sbin:/usr/sbin:/usr/local/sbin

if I do something else (say, use "reset" to clear the terminal) and run
env or echo $PATH again, I'll get:


PATH=/bin:/us0žÿ¿r/X11R6/bin:/usrP9
Àžÿ¿</local/A˜ð(@<crobat5/bin:/usr/local/icewm/bin:/usr/bin:/bin:/usr/loca€l@,X@g/b<Оÿ¿¾i@´=À?n:/sbin:/usìÖ)@Ÿÿ¿¥ÿ¿Øžÿ¿®")@1.0.168.192.in-addr.arpa.r)@ìÖ)@/sb¥ÿ¿8£ÿ¿ÞX)@Ÿÿ¿in:/us¯ÿ¿³ÿ¿ç(@<r/l>,X@Ÿÿ¿ÿÿÿÿalbert.localneto(ì(@ Ÿÿ¿ ;cal?/sbin:/usr/X11R6/bin:/home/craig/bin:/sbin:/usr/sbin:/usr/local/sbin

Note that these tend to be pretty much the /same/ gibberish each time.
The PATH I define is in there, but so is (for example) the reverse-dns
name of the firewall/ldap server.

Here's what I get on X11 login (as found with a echo $PATH placed in
.xsession) now that LDAP is disabled again:

PATH=/bin:/usr/X11R6/bin:/usr/local/Acrobat5/bin:/usr/local/icewm/bin‘:/usr/bin:/bin:/usr/local/bin:/sbin:/usëœ@ø"r/sˆbin:B B/B øÆÿ¿[3BuB~sr/ÿÿÿÿlˆ@0Çÿ¿0Çÿ¿l#Òj@0Çÿ¿ocal/ sbin

As you can imagine, I'm really confused now. Could this be some bizarre
utf-8 related breakage? All this works great on all my other machines.

-- 
Craig Ringer
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
	-- if it ain't broke, add features 'till it is. (or:)
	while (! broken) { features ++ ; broken = isBroken(features) }



More information about the plug mailing list