Just saying that I am also seeing issues with the new login binary
related to SIGHUP.

In my case it's login being started by rsh-redone-server (85-4) (from
xinetd). What seems to be happening is that the vhangup triggers a
POLLHUP in in.rlogind, and the read on that file descriptor then
returns EIO, resulting in in.rlogind immediately closing the
connection.

It might be worth pointing out that telnetd still seems to work -
looking at the telnetd source code, there appears to be some special
handling for that case (see pty_read in utility.c):

 * In particular, EIO is known to appear when
 * reading off the master side, before having
 * an active slave side.

So maybe rlogind.c now also needs that kind of special handling? But
then again, doing a hangup on login actually seems a bit strange...


BTW, I have to admit that I am actually seeing this on Ubuntu 25.04
beta now, but I don't think it's an Ubuntu-specific issue.


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Reply via email to