Re: 2.4.4 fork() problems (maybe)

From: Marko Kreen (marko@l-t.ee)
Date: Sat May 05 2001 - 15:30:34 EST


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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:22 EST