Bash-3.2 Official Patch 39

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-039 Bug-Reported-by:[EMAIL PROTECTED] Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: Bug-Description: Bash-3.2 changed the behavior of t

Bash-3.2 Official Patch 38

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-038 Bug-Reported-by:Wojciech Puchar <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/b

Bash-3.2 Official Patch 37

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-037 Bug-Reported-by:jared r r spiegel <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html

Bash-3.2 Official Patch 36

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-036 Bug-Reported-by:Len Lattanzi <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: Bug-Description: When initializing a subsh

Bash-3.2 Official Patch 35

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-035 Bug-Reported-by:Ingo Molnar <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-b

Bash-3.2 Official Patch 34

2008-05-02 Thread Chet Ramey
BASH PATCH REPORT = Bash-Release: 3.2 Patch-ID: bash32-034 Bug-Reported-by:Ian Campbell <[EMAIL PROTECTED]> Bug-Reference-ID: <[EMAIL PROTECTED]> Bug-Reference-URL: http://lists.gnu.org/archive/html/bug-

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread Stephane Chazelas
On Sat, May 03, 2008 at 12:30:02AM +0800, [EMAIL PROTECTED] wrote: > Here we see the typical deal. You asked me about ulimit. [..] Could you try ulimit -a? Have you got a lot of processes running as "nobody"? $ ps -fjlLunobody $ sudo lsof -u nobody Or maybe it could be "su" that exits and bash

distinguish shell generated exits

2008-05-02 Thread jidanni
There are several situations where $ exit and $ logout were typed by the shell and not the user, who must specifically say "I did not type that, some magic hand did" when sharing shell transcripts with other people. So perhaps those messages should have a "bash:" prepended or something to distingu

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread jidanni
CR> Does this happen only in an emacs shell-mode window? No. It happens also in xterm. Today it at least allowed me to do -c date. I did not type exit or logout. The magic hand did. # su - nobody -c date No directory, logging in with HOME=/ Sat May 3 01:03:10 CST 2008 # su - nobody -c 'sh -i' No d

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread Chet Ramey
Stephane Chazelas wrote: [...] Could be a tty setting as well. stty min 0 time 10 -icanon could reproduce that if bash was built without readline I think. With readline, bash is meant to reset those min and time parameters before each prompt. Maybe it fails to do so in which case strace will t

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread jidanni
Here we see the typical deal. You asked me about ulimit. I tried to get a shell oh, six times this time before the magic hand stopped logging me out. Whereupon it bites off the first character of what I type and logs me out, saving the message for after the next prompt. Then I get a shell again to

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread Stephane Chazelas
On Fri, May 02, 2008 at 11:27:00PM +0800, [EMAIL PROTECTED] wrote: > SC> Try > SC> sudo env -i SHELLOPTS=xtrace su -p - nobody > (I don't use sudo) > uid=0(root) gid=0(root) groups=0(root) > # env -i SHELLOPTS=xtrace su -p - nobody > + PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games > + '

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread Stephane Chazelas
On Fri, May 02, 2008 at 11:27:00PM +0800, [EMAIL PROTECTED] wrote: > SC> Try > SC> sudo env -i SHELLOPTS=xtrace su -p - nobody > (I don't use sudo) > uid=0(root) gid=0(root) groups=0(root) > # env -i SHELLOPTS=xtrace su -p - nobody > + PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games > + '

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread jidanni
SC> Try SC> sudo env -i SHELLOPTS=xtrace su -p - nobody (I don't use sudo) uid=0(root) gid=0(root) groups=0(root) # env -i SHELLOPTS=xtrace su -p - nobody + PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games + '[' /bin/sh ']' + PS1='[EMAIL PROTECTED]:\w\$ ' + export PATH + umask 022 [EMAIL P

Re: [Pkg-shadow-devel] Bug#476519: shell-mode garbles input

2008-05-02 Thread Stephane Chazelas
On Fri, May 02, 2008 at 06:08:41AM +0800, [EMAIL PROTECTED] wrote: > As http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476519 says, maybe > it is a bash bug: with Debian sid's BASH_VERSION=3.2.33(1)-release > about half the time the below works normally, the other half some > magic hand sends "ex