#1101703 rlogind immediately disconnects

Package:
rsh-redone-server
Source:
rsh-redone-server
Description:
Reimplementation of rshd and rlogind
Submitter:
Christof Meerwald
Date:
2025-08-27 04:33:01 UTC
Severity:
normal
#1101703#5
Date:
2025-03-30 15:03:39 UTC
From:
To:
With login 1:4.16.0-2+really2.40.4-5 in.rlogind immediately
disconnects as it can't handle the "vhangup" call used by login.

See also Bug#1078023, it seems that rlogind needs some special
handling to handle a read returning EIO; I have found this in the
telnetd source code:

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


Note that rlogind works fine with earlier versions of login that don't
use vhangup.

#1101703#10
Date:
2025-08-27 03:35:00 UTC
From:
To:
There appears to be a race condition -- it occasionally works,
but usually disconnects.