home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
- From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
- Newsgroups: comp.os.linux
- Subject: BUG with bash and Linux-0.97 pl 2
- Message-ID: <1992Aug29.054016.28156@athena.mit.edu>
- Date: 29 Aug 92 05:40:16 GMT
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
- Organization: The Internet
- Lines: 24
-
- 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
-