11.0 with base ntpd daily leapfile problem
Ernie Luzar
luzar722 at gmail.com
Thu Oct 20 14:18:29 UTC 2016
Hello list;
Every morning the "ps ax" command shows these 2 tasks running.
They never change or go away until I manually kill it.
/root >ps ax
PID TT STAT TIME COMMAND
---snip--
729 - Ss 0:35.63 /usr/sbin/ntpd -g -c /etc/ntp.conf -p
/var/run/ntpd.
28509 - I 0:00.00 /bin/sh /etc/periodic/daily/480.leapfile-ntpd
28512 - I 0:00.00 sleep 84627
This is the text of the script
/root >cat /etc/periodic/daily/480.leapfile-ntpd
#!/bin/sh
#
# $FreeBSD: releng/11.0/etc/periodic/daily/480.leapfile-ntpd 301102
2016-06-01 04:37:43Z cy $
#
# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi
case "$daily_ntpd_leapfile_enable" in
[Yy][Ee][Ss])
case "$daily_ntpd_avoid_congestion" in
[Yy][Ee][Ss])
# Avoid dogpiling
(sleep $(jot -r 1 0 86400); service ntpd onefetch) &
;;
*)
service ntpd onefetch
;;
esac
;;
esac
exit $rc
I think I need to file a bug report about this.
What do I have to manually change in the script to fix this problem?
Thanks
More information about the freebsd-questions
mailing list