Subject: Re: kern/30815: ntpd refclockio broken wrt/ SIGIO
To: None <gnats-bugs@netbsd.org, kern-bug-people@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 07/24/2005 19:44:37
On Jul 23,  1:30pm, kardel@acm.org (kardel@acm.org) wrote:
-- Subject: kern/30815: ntpd refclockio broken wrt/ SIGIO

| 	The recent relaxation to allow SIGIO on tty descriptors without
| 	requiring TIOCSCTTY is incomplete. Current version 1.9 of
| 	usr.sbin/ntp/include/config.h has USE_FSETOWNCTTY commented out.
| 	So ntpd doesn't aquire a CTTY. Fact is that currently TTY input
| 	does not cause a SIGIO to be delivered in this setup.
| 	ntpd pretends to run because of network SIGIOs, but ntpd is
|         unable to actually use a tty refclock as input on a TTY as
| 	input is batched in intervals of network caused SIGIOs.
| 
| 	So, currently ntpd refclock support is broken.

Does the code set FIOASYNC?

christos