zsh-workers
 help / color / mirror / code / Atom feed
From: Philippe Troin <phil@fifi.org>
To: Peter Whaite <peta@cortexmachina.com>
Cc: zsh-workers@sunsite.dk
Subject: Re: Cant fg a suspended su (4.1.0-dev-7)
Date: 24 Feb 2003 17:29:20 -0800	[thread overview]
Message-ID: <87fzqd172n.fsf@ceramic.fifi.org> (raw)
In-Reply-To: <200302211807.h1LI74n23531@aragorn.cortexmachina.com>

Peter Whaite <peta@cortexmachina.com> writes:

> I've noticed that I cannot resume a suspened su session lately (It
> happened in 4.1.0-dev-6 as well). 
> 
>        aragorn% /bin/su peta
>        Password: 
>        aragorn% echo $ZSH_VERSION
>        4.1.0-dev-7
>        aragorn% suspend
>        zsh: suspended (signal)  /bin/su peta
>        aragorn% fg %1
>        [1]  + continued  /bin/su peta
>        zsh: suspended (signal)  /bin/su peta
> 
> There is approximately a 1 second pause between the contined and the
> suspended messages.  
> 
> Any idea why the su command re-suspends after the continue?

I could not reproduce the problem on 4.1.0-dev-7, nor on CVS...

A few questions for Peter:

 - Which su are you using? GNU su, the shadow utilities's version of
   su or something else?

   GNU su will give you the version with `su --version'

   shadow su's version can be obtained with: 
     strings /bin/su | grep '\$Package'

 - Can you send us the output of 'ps xajf' ran from within the su
   shell... You might want to trim it. I'm interested in the PGID of
   the the su'ed zsh and its parent... For me it looks like this:

    PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
   26785 15644 15644 26785 pts/0    15770 S     1000   0:00  \_ ../inst
   15644 15753 15753 26785 pts/0    15770 S     1002   0:00      \_ zsh
   15753 15770 15770 26785 pts/0    15770 R     1002   0:00          \_ ps

Thanks,
Phil.


  parent reply	other threads:[~2003-02-25  1:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 18:07 Peter Whaite
2003-02-22 23:04 ` Bart Schaefer
2003-02-22 23:42   ` Bart Schaefer
2003-02-25  0:38   ` Philippe Troin
2003-02-27  8:47     ` Help needed with execcmd() (was: Re: Cant fg a suspended su (4.1.0-dev-7)) Philippe Troin
2003-03-01 18:42       ` Bart Schaefer
2003-02-25  1:29 ` Philippe Troin [this message]
2003-02-25  3:00   ` Cant fg a suspended su (4.1.0-dev-7) Peter Whaite
2003-02-25  3:37     ` Philippe Troin
2003-02-25 16:34       ` Philippe Troin
2003-02-25 17:02         ` Peter Whaite
2003-03-06  4:47           ` Philippe Troin
2003-03-06 18:23             ` Peter Whaite
2003-03-06 22:14               ` Philippe Troin
2003-03-07 12:18               ` Peter Stephenson
2003-03-07 14:01                 ` Philippe Troin
2003-02-26  6:18 ` Philippe Troin
2003-02-26 16:25   ` Bart Schaefer
2003-02-26 16:34     ` Peter Stephenson
2003-02-26 20:30     ` Philippe Troin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fzqd172n.fsf@ceramic.fifi.org \
    --to=phil@fifi.org \
    --cc=peta@cortexmachina.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).