home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9320 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.2 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!daemon
  2. From: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  3. Newsgroups: comp.os.linux
  4. Subject: BUG with bash and Linux-0.97 pl 2
  5. Message-ID: <1992Aug29.054016.28156@athena.mit.edu>
  6. Date: 29 Aug 92 05:40:16 GMT
  7. Sender: daemon@athena.mit.edu (Mr Background)
  8. Reply-To: tytso@ATHENA.MIT.EDU (Theodore Ts'o)
  9. Organization: The Internet
  10. Lines: 24
  11.  
  12. I just recently upgraded to Linux 0.97 patchlevel 2, and after I did, I
  13. found that xinit wasn't working anymore.  I finally traced it down to my
  14. .xinitrc file, and to the following specific bug.
  15.  
  16. If you type the following at bash under 0.97 PL2:
  17.  
  18. unset SHLVL
  19. exec /bin/sh
  20.  
  21. The existing shell will core dump without managing to exec the prgram
  22. you ask it to exec.
  23.  
  24. If you take the same bash binary and run under 0.97 PL 1, the shell will
  25. *not* core dump and exec the request program instead.  (This is the
  26. correct behavior).
  27.  
  28. This behavior can be duplicated using either the MCC 0.96c /bin/bash, or
  29. the /bin/bash on the 0.97 rootimage disk.
  30.  
  31. I haven't been able to trace it down any further, but maybe I'll have
  32. luck later after I compile my own version of bash and after I get a
  33. working copy of gdb under 0.97PL2.
  34.  
  35.                             - Ted
  36.