Re: Problem with "su -" and kernels 2.4.3-ac11 and higher
Manuel McLure (email@example.com)
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
> > "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.
> # 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
> (kernel with the fix by Niels Kristian Bech Jensen <firstname.lastname@example.org>)
> # su --version
> su (GNU sh-utils) 2.0
> Maybe it is RH7 specyfic ? Or you have some compiler / hardware problem ?
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
<email@example.com> | 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 firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/