Subject: bin/27097: talk daemon can't find open tty.
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <jklos@netbsd.org>
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
>Closed-Date:
>Last-Modified:
>Originator:     John Klos
>Release:        NetBSD 2.0_BETA
>Organization:
ZiaSpace Productions
	
>Environment:
	
	
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 john@lain.ziaspace.com:/usr/src/sys/arch/macppc/compile/LAIN macppc
Architecture: powerpc
Machine: macppc
>Description:
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.
>How-To-Repeat:
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.
>Fix:
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.
>Release-Note:
>Audit-Trail:
>Unformatted: