Subject: bin/27097: talk daemon can't find open tty.
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/01/2004 05:20:53
>Number:         27097
>Category:       bin
>Synopsis:       The talk daemon won't find an open tty if the first tty for a user is not open.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 01 05:21:00 UTC 2004
>Originator:     John Klos
>Release:        NetBSD 2.0_BETA
ZiaSpace Productions
System: NetBSD 2.0_BETA NetBSD 2.0_BETA (LAIN-$Revision: 1.999 $) #0: Fri Aug 27 04:36:32 UTC 2004 macppc
Architecture: powerpc
Machine: 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.