On Sun, Apr 05, 2009 at 11:50:59PM +0200, Axel Beckert wrote: > Package: ntp > Version: 1:4.2.4p6+dfsg-1 > Severity: grave > User: glibc-bsd-de...@lists.alioth.debian.org > Usertags: kfreebsd > > ntpd silently fails to start on kfreebsd-i386: > > !10 Z11 ?0 L1 r...@metisse:ttyp5 23:47:28 [~] # /etc/init.d/ntp start > Starting NTP server: ntpd. > !11 Z12 ?0 L1 r...@metisse:ttyp5 23:47:31 [~] # ps auxwww | fgrep ntp > Unknown HZ value! (23) Assume 100. > root 57075 0.0 0.0 4172 0 ? S+ Mar23 0:00 fgrep ntp > !12 Z13 ?0 L1 r...@metisse:ttyp5 23:47:37 [~] # > > In the syslog I found the following messages: > > Apr 5 23:47:31 metisse ntpd[57063]: ntpd 4.2....@1.1549-o Wed Feb 18 > 19:14:31 UTC 2009 (1) > Apr 5 23:47:31 metisse ntpd[57065]: precision = 2.794 usec > Apr 5 23:47:31 metisse ntpd[57065]: init_socket_sig: ioctl(I_SETSIG, > S_INPUT) failed: Inappropriate ioctl for device
So that's this code: # ifdef USE_UDP_SIGPOLL { if (ioctl(fd, I_SETSIG, S_INPUT) < 0) { msyslog(LOG_ERR, "init_socket_sig: ioctl(I_SETSIG, S_INPUT) failed: %m"); exit(1); } } I think I saw an upstream bug report about disabling that for Solaris. Maybe USE_UDP_SIGPOLL should get disabled for kFreeBSD too? Do you have any idea if this is kFreeBSD specific? I doubt that a normal FreeBSD system has a problem with that since upstream probably tests that more than anything else. Kurt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org