Bug#317747: [Pkg-shadow-devel] Bug#317747: su -m / suspend / fg broken with zsh

Alexander Gattin "Alexander Gattin" <arg@online.com.ua>, 317747@bugs.debian.org
Mon Jul 11 11:02:20 UTC 2005


tags 317747 confirmed
thanks

On Mon, 11 Jul 2005 02:08:26 -0700 (PDT) dean gaudet 
<dean@arctic.org> wrote:
> this bug has been introduced since 1:4.0.3-35 ... 
>perhaps related to the 
> fix for #314727.

This claim needs to be verified.

> with zsh as your shell, this sequence is busted:

I see another symptome, fg only works after having been 
run
for second time (race condition -- we have different 
timing
here, your child shell gets control and then gets stopped. 
Mine
doesn't have a chance to get control, it gets stopped 
before).

Also, I see this only for `su -m` to root. When I e.g.
`su -m builder`, everything works OK.

> the problem doesn't seem to happen if i drop the "-m", 
>or if i use bash or 
> tcsh as the shell instead... the latter might point to 
>this being a zsh 
> problem, but it is a new thing since -35 and zsh hasn't 
>changed, so i 
> figured i'd start here.

First I'll check whether it's actually "new" since -35.
IMHO, this may be signal handling bug in zsh. I'm 
susrprised
by your claim that suspend worked with -35, because 
CLOSE_SESSIONS was already set to yes in that release...

-- 
WBR,
xrgtn





More information about the Pkg-shadow-devel mailing list