Package: openntpd
Version: 3.9p1-7
Severity: important

            hy,

on some machines the openntpd dies after random time. The machines have
only ipv4 enabled, and strace give me this output:

[pid 23264] poll( <unfinished ...>
[pid 23260] <... poll resumed> [{fd=4, events=POLLIN}, {fd=-1}], 2, 514000) = 0
[pid 23260] time(NULL)                  = 1222730519
[pid 23260] time(NULL)                  = 1222730519
[pid 23260] socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address 
family not supported by protocol)
[pid 23260] write(2, "fatal: client_query socket: Addr"..., 69) = 69
[pid 23260] exit_group(1)               = ?
Process 23260 detached
<... poll resumed> [{fd=3, events=POLLIN, revents=POLLIN|POLLHUP}], 1, 15000) = 
1
read(3, "", 4096)                       = 0
time(NULL)                              = 1222730519
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0
send(4, "<26>Sep 30 01:21:59 ntpd[23264]:"..., 67, MSG_NOSIGNAL) = 67
rt_sigaction(SIGCHLD, {SIG_DFL}, {0x80497c0, [CHLD], SA_RESTART}, 8) = 0
kill(23260, SIGTERM)                    = -1 ESRCH (No such process)
wait4(-1, NULL, 0, NULL)                = -1 ECHILD (No child processes)
time(NULL)                              = 1222730519
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0
send(4, "<30>Sep 30 01:21:59 ntpd[23264]:"..., 44, MSG_NOSIGNAL) = 44
exit_group(0)                           = ?
Process 23264 detached
 

Seems that the opnentpd get'S from DNS an ipv6 record and dies. 
The DNS Entry's for the used NTP Server's:

ntp0            IN A            194.97.4.214
                IN AAAA         2001:748:100:60::2
ntp1            IN A            194.97.5.110
                IN AAAA         2001:748:200:4::2



                Ruben




-- 
Ruben Puettmann
[EMAIL PROTECTED]
http://www.puettmann.net

Attachment: signature.asc
Description: Digital signature

Reply via email to