[comp.unix.wizards] Problem with rlogind

justin@reed.bitnet (the heat of fusion) (03/08/90)

We are running 4.3bsd on a VAX 11/785.  The problem is this:
(We have rlogged in)
If, when the login shell dies, there are ANY processes running in the back-
ground, rlogind hangs.  Here's a sample output of "ps wwl" on the rlogind:

      F UID   PID  PPID CP PRI NI ADDR  SZ  RSS WCHAN        STAT TT  TIME COMMAND
1008001   0 19674   253 31   4  0 4338  30   23 pt_tty       I    pa  0:06 rlogind

The fact that it hangs even if the backgrounded process closes both stdin and
stdout leads me to believe that protocol() is not responsible.  The most likely
candidate seems to be the call to vhangup() [manual section 2] in cleanup().
Strange thing is, i don't think this problem has occurred before.  Unless we've
replaced the kernel lately, previous calls to vhangup() should have effected
the same condition.
--
                         JUSTIN@REED.BITNET (or) [tektronix,ogicse]!reed!justin
     Member HASA, UFOC (United Friends Of Carasso), Church of the SubGenius (in
   BOB we trust), ROCOCO, the Illuminati and any other absurdities i can get my
                                       grubby paws on (suggestions appreciated)
--
                         JUSTIN@REED.BITNET (or) [tektronix,ogicse]!reed!justin
     Member HASA, UFOC (United Friends Of Carasso), Church of the SubGenius (in
   BOB we trust), ROCOCO, the Illuminati and any other absurdities i can get my
                                       grubby paws on (suggestions appreciated)