Subject: bin/27097: talk daemon can't find open tty.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <firstname.lastname@example.org>
Date: 10/01/2004 05:20:53
>Synopsis: The talk daemon won't find an open tty if the first tty for a user is not open.
>Arrival-Date: Fri Oct 01 05:21:00 UTC 2004
>Originator: John Klos
>Release: NetBSD 2.0_BETA
System: NetBSD lain.ziaspace.com 2.0_BETA NetBSD 2.0_BETA (LAIN-$Revision: 1.999 $) #0: Fri Aug 27 04:36:32 UTC 2004 email@example.com:/usr/src/sys/arch/macppc/compile/LAIN macppc
When using talk or ytalk with an enabled talk daemon, the daemon cannot
find an open tty for a user if the first tty for that user is not open.
Enable ntalkd in inetd and rehup; log in as a specific user more than
once; "mesg n" in the first login of of that user, and try to talk / ytalk
to that user. Normally, the other logins would be found, but in NetBSD
2.0, the user is reported to be refusing messages.
Not sure. The code in ntalkd appears to be properly getting the right
status of each tty, but that's as far as I got.