Re: 2.4.4 fork() problems (maybe)

Marko Kreen (marko@l-t.ee)
Sat, 5 May 2001 22:30:34 +0200


On Sat, May 05, 2001 at 09:07:53PM +0200, Magnus Naeslund(f) wrote:
> Hello, I saw that there was something changed on how fork() works, and
> wonder if this could be the cause my problem.
> When i do a "su - <user>" it just hangs.
> When i run strace on it i see that it forks and wait()s on the child.
>
> Sometimes when i strace the su command it succeeds to give me a shell,
> sometimes not.
> But it allways fails when i don't strace it.

2.4.4 has some problems with fork() but your problem seems to be
something else. Are you using RedHat 7.1? (Or whatever it was
the latest...) The su-acting-weird problem has been reported
before and was traced to some PAM problems. Try to download
some upgrades from RedHat, maybe it will help.

-- 
marko

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/