home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!convex!news.utdallas.edu!yuanyin
- From: yuanyin@utdallas.edu (Yuan-Yin Wu)
- Subject: Re: BUG with bash and Linux-0.97 pl 2
- Message-ID: <1992Aug29.124443.14863@utdallas.edu>
- Followup-To: comp.os.linux
- Sender: yuanyin@utdallas.edu <Yuan-yin Wu>
- Nntp-Posting-Host: stilt.utdallas.edu
- Organization: Univ. of Texas at Dallas
- References: <1992Aug29.054016.28156@athena.mit.edu>
- Date: Sat, 29 Aug 1992 12:44:43 GMT
- Lines: 37
-
- In article <1992Aug29.054016.28156@athena.mit.edu> tytso@ATHENA.MIT.EDU (Theodore Ts'o) writes:
- >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.
- >
-
- Talking about core dumps: the mount and umount both core dump after I
- upgraded to 0.97PL2. What puzzles me is that mount still mounts what's
- in the fstab when the machine boots. After that mount can show the mount
- table, but core dumps if I actually mount a device (I've tried different
- fs', same result). Umount also core dumps.
- Don't know if this is also related to bash.
-
- >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
-
-
- --
- Yuan-yin Wu yuanyin@utdallas.edu (214) 690-2152
-