login
Header Space

 
 

BUG with bash and Linux-0.97 pl 2

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Saturday, August 29, 1992 - 1:40 am

I just recently upgraded to Linux 0.97 patchlevel 2, and after I did, I
found that xinit wasn't working anymore.  I finally traced it down to my
.xinitrc file, and to the following specific bug.

If you type the following at bash under 0.97 PL2:

unset SHLVL
exec /bin/sh

The existing shell will core dump without managing to exec the prgram
you ask it to exec.

If you take the same bash binary and run under 0.97 PL 1, the shell will
*not* core dump and exec the request program instead.  (This is the
correct behavior).

This behavior can be duplicated using either the MCC 0.96c /bin/bash, or
the /bin/bash on the 0.97 rootimage disk.

I haven't been able to trace it down any further, but maybe I'll have
luck later after I compile my own version of bash and after I get a
working copy of gdb under 0.97PL2.

                                                        - Ted
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
BUG with bash and Linux-0.97 pl 2, Theodore Ts'o, (Sat Aug 29, 1:40 am)
speck-geostationary