Package: fsh
Version: 1.2-6
Severity: normal

A while ago, I reported on a case where one of the output fds wasn't
closed, so fsh in shell backticks never closed.  This bug was
correctly fixed.  However, recently, I have noticed that cvs, using
CVS_RSH=fsh, doesn't exit if asked to start the fsh shell for the
first time.

It constantly waits:
> ps axf | grep cvs
13270 pts/45   S+     0:00  |           \_ cvs diff handlenews
13271 pts/45   S+     0:00  |               \_ cvs diff handlenews

> strace -p 13270
Process 13270 attached - interrupt to quit
waitpid(13271,  <unfinished ...>
Process 13270 detached

> strace -p 13271
Process 13271 attached - interrupt to quit
read(4,  <unfinished ...>
Process 13271 detached

> l */fd/* | grep 189232061
lr-x------ 1 tconnors tconnors 64 Jun  3 17:43 13271/fd/4 -> pipe:[189232061]
l-wx------ 1 tconnors tconnors 64 Jun  3 17:43 13288/fd/2 -> pipe:[189232061]
l-wx------ 1 tconnors tconnors 64 Jun  3 17:43 13288/fd/6 -> pipe:[189232061]

> ps 13288
  PID TTY      STAT   TIME COMMAND
13288 pts/45   S+     0:00 ssh -l tconnors hexane in.fshd

> strace -p 13288
Process 13288 attached - interrupt to quit
select(7, [3 4], [], NULL, {243, 936000} <unfinished ...>
Process 13288 detached

If I kill the cvs process pid 13271, then fsh daemon's ssh process pid
13288 dies.  If I then get the shell to start a fsh process, and then
let cvs attach to the already running fsh daemon, then it all works
fine.

Is anyone else able to reproduce that, or perhaps is there a bug on
the non-up-to-date server I am fshing into?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.1
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)

Versions of packages fsh depends on:
ii  openssh-client [rsh-client]   1:4.3p2-2  Secure shell client, an rlogin/rsh
ii  python                        2.3.5-5    An interactive high-level object-o
ii  ssh                           1:4.3p2-2  Secure shell client and server (tr

Versions of packages fsh recommends:
ii  ssh                           1:4.3p2-2  Secure shell client and server (tr

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to