bash weirdness

John Abreau jabr at blu.org
Thu Jul 24 18:44:28 EDT 2008


On Thu, July 24, 2008 4:16 pm, VirginSnow at vfemail.net said:

>
> Sounds like your fork() is somehow broken.  Does running commands in
> the background work?  Try something like "xterm &" and see if it runs.
> May also be a controlling tty issue.

    xlogo

displays the X logo properly, but

    xlogo &

doesn't work; I get

    [1]+  Broken pipe             xlogo

Within vi, if I type

    :!echo foo
    foo
    Press any key to continue [: to enter more ex commands]:

This suggests that fork() is working, at least from within vi.

When i login with tcsh instead of bash, I get a lot of broken pipes:

    ssh -t -Y server.example.com /bin/tcsh
    Broken pipe
    LS_COLORS: Undefined variable.
    % ls
    Broken pipe
    % date
    Broken pipe
    % more /etc/passwd
    Broken pipe

Shell built-ins, like echo and exit, work.

So fork() is broken for users defined in LDAP, but not for users
defined locally in /etc/passwd? I still can't imagine what could
cause that behavior.

Any thoughts on what I can try next?



-- 
John Abreau / Executive Director, Boston Linux & Unix
IM: jabr at jabber.blu.org / abreauj at AIM / abreauj at Yahoo / zusa_it_mgr at Skype
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the gnhlug-discuss mailing list