Re: Problem with "su -" and kernels 2.4.3-ac11 and higher
Manuel McLure (manuel@mclure.org)
Sun, 22 Apr 2001 19:25:20 -0700
On 2001.04.22 14:38 Andrzej Krzysztofowicz wrote:
> >
> > I'm having a problem with "su -" on ac11/ac12. ac5 doesn't show the
> > problem.
> > The problem is easy to reproduce - go to a console, log in as root, do
> an
> > "su -" (this will succeed) and then another "su -". The second "su -"
> > should hang - ps shows it started bash and that the bash process is
> > sleeping. You need to "kill -9" the bash to get your prompt back.
>
> No problem here.
>
> P233MMX
>
> # uname -a
> Linux kufel 2.4.3-ac12 #2 nie kwi 22 15:32:51 CEST 2001 i586 unknown
>
> # ls -l /lib/libc-*
> -rwxr-xr-x 1 root root 1060168 Nov 19 11:17 /lib/libc-2.1.3.so
>
> # gcc --version
> egcs-2.91.66
> (kernel with the fix by Niels Kristian Bech Jensen <nkbj@image.dk>)
>
> # su --version
> su (GNU sh-utils) 2.0
>
> Maybe it is RH7 specyfic ? Or you have some compiler / hardware problem ?
>
> Andrzej
Did you try nesting more than one "su -"? The first one after a boot works
for me - every other one fails.
I'm on RH71 - this may be specific to this release. It's also
kernel-dependent, I can reboot with ac5 and the problem does not happen.
The kernel is compiled with the same compiler as yours.
My libc is 2.2.2 while yours is 2.1.3 - this may be the difference.
--
Manuel A. McLure KE6TAW | ...for in Ulthar, according to an ancient
<manuel@mclure.org> | and significant law, no man may kill a cat.
<http://www.mclure.org> | -- H.P. Lovecraft
-
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/