Re: 2.4.4 fork() problems (maybe)

Magnus Naeslund (mag@fbab.net)
Sun, 6 May 2001 02:20:50 +0200


From: "Marko Kreen" <marko@l-t.ee>
> 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
>

No i use redhat 6.2 (on a alpha system).
It works fine with 2.4.3, which i am running now ( i backed out 2.4.4 ).

Magnus

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Programmer/Networker [|] Magnus Naeslund
PGP Key: http://www.genline.nu/mag_pgp.txt
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

-
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/