[pkg-ntp-maintainers] Bug#671617: segfaults with cryptostats enabled
Peter Palfrader
weasel at debian.org
Sat May 5 12:47:09 UTC 2012
Package: ntp
Version: 1:4.2.6.p5+dfsg-1
Severity: normal
On our armhf hosts, ntp segfaults at start with the following config:
| driftfile /var/lib/ntp/ntp.drift
| statsdir /var/log/ntpstats/
|
| statistics loopstats peerstats clockstats cryptostats
| filegen loopstats file loopstats type day enable
| filegen peerstats file peerstats type day enable
| filegen clockstats file clockstats type day enable
| filegen cryptostats file cryptostats type day enable
|
| crypto randfile /dev/urandom
| keysdir /etc/ntp.keys.d
|
| # autokey doesn't work behind nat
|
| # merikanto's and orff's ipv4 IP, hard coded for the benefit of hosts
| # that do not have RTC's (since they won't be able to do DNS until
| # they have a reasonable clock).
| server 86.59.118.147 iburst
| server 194.177.211.209 iburst
|
| server merikanto.debian.org iburst
| server orff.debian.org iburst
| server ravel.debian.org iburst
| server busoni.debian.org iburst
|
| restrict -4 default kod notrap nomodify nopeer noquery
| restrict -6 default kod notrap nomodify nopeer noquery
|
| restrict 127.0.0.1
| restrict ::1
} weasel at harris:~$ sudo strace -f start-stop-daemon --start --oknodo --pidfile /var/run/ntpd.pid --startas /usr/sbin/ntpd -- -p /var/run/ntpd.pid -g -u 104:106
} ...
} bind(22, {sa_family=AF_NETLINK, pid=0, groups=00000771}, 12) = 0
} fcntl64(22, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
} gettimeofday({1336221938, 666439}, NULL) = 0
} send(3, "<30>May 5 12:45:38 ntpd[6451]: "..., 92, MSG_NOSIGNAL) = 92
} clock_gettime(CLOCK_REALTIME, {1336221938, 668928229}) = 0
} --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Removing cryptostats from statistics, and removing the filegen cryptostats
line makes ntpd work again.
Cheers,
More information about the pkg-ntp-maintainers
mailing list