Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Where to report bugs?

Joined
May 13, 2019
Messages
1
Thanks
0
#1
After the machine ran overnight, `/var/log/messages` showed

etc/init.d/ntpd[39548]: ntpd: unknown function `oneneedfetch'


Cause: the file /etc/periodic/daily/480.leapfile-ntpd contains a block

case "$daily_ntpd_leapfile_enable" in
[Yy][Ee][Ss])
if service ntpd oneneedfetch; then
anticongestion
service ntpd onefetch
fi
;;
esac




The file /var/log/ntpd.err contained error messages like

leapsecond file ('/var/db/ntpd.leap-seconds.list'): expired less than 442 days ago


after each reboot. Executing

service ntpd ntpd-fetch needfetch

was a remedy. The block in /etc/periodic/daily/480.leapfile-ntpd should probably be


case "$daily_ntpd_leapfile_enable" in
[Yy][Ee][Ss])
if service ntpd needfetch; then
anticongestion
service ntpd ntpd-fetch needfetch
fi
;;
esac


By the way: anticongestion() is defined in /etc/defaults/periodic.conf`

pkg which /etc/periodic/daily/480.leapfile-ntpd
/etc/periodic/daily/481.leapfile-ntpd was installed by package os-generic-userland-conf-13.0.20190628191234


Sadly I have no knowledge regarding BSD packages and can't make a pull request.

The Github repository has no issues tab. So where can I report this?
 

Redcoat

FreeNAS Expert
Joined
Feb 18, 2014
Messages
1,224
Thanks
314
#2
"Report a Bug" on the masthead.
 
Top