On 2004-01-04, Sam Varshavchik wrote:
> Georg Lutz writes:
> 
> 
> Something is seriously broken in bash.
> 
> Try:
> 
> strace -s 1024 -f /bin/bash -c 'if test "`eval echo ~$USERID`" != ~$USERID; 
> then echo "123"; fi'
> 
> And look in the output to figure out which process receives a SIGPIPE, and
> why.
> 
> 

I have done

strace -o out.txt -s 1024 -f /bin/bash -c 'for seq in 1 2; do if test
"`eval echo ~$USERID`" != ~$USERID; then echo "123";fi;done'

since bash receives a SIGPIPE only the second time I issue the if-state.

I placed out.txt on http://www.erc.de/~gal/out.txt

It has something to do with nss_ldap / openldap. When I switch to local passwd
files, I get no errors.

I just can't figure out, why this happens. Other services (normal
bash-operation, ssh, samba) are working without nss_ldap errors.



-- 
Georg


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to