ISO icon indicating copy to clipboard operation
ISO copied to clipboard

Migrate from ntpdate to ntpd

Open Hierosme opened this issue 1 year ago • 6 comments

Is your feature request related to a problem? Please describe. ntpdate is deprecated and is replace by ntpd or chrony. It will be remove in next major version of FreeBSD

https://man.freebsd.org/cgi/man.cgi?query=ntpdate&sektion=8 (Section Description on top)

FreeBSD will use NTPD ...

Describe the solution you'd like Implemant NTPD like the True Unix way, NTPD make a good job , and can replace ntpdate easylly with -q option.

https://docs.freebsd.org/en/books/handbook/network-servers/#network-ntp

Describe alternatives you've considered Chrony is the big winner of they last years, but have no port on FreeBSD https://gitlab.com/chrony/chrony

Additional context Date and Time.app have as target NTPD and require it migration

Hierosme avatar Aug 26 '23 14:08 Hierosme

  • The ntpd package should be install inside ISO
  • The ntpdate package should be remove from ISO
  • That specific file https://github.com/lattera/freebsd/blob/master/etc/ntp.conf should be imposed by default
  • Date and Time.app will use that default ntp.conf as model, then impose/restore each time a file as close to original file.

I dont know where edit what for got the result but that the plan.

Hierosme avatar Aug 30 '23 20:08 Hierosme

That file also says:

# Don't forget to enable ntpd in /etc/rc.conf with:
# ntpd_enable="YES"

probonopd avatar Aug 30 '23 20:08 probonopd

Why do we need a file from https://github.com/lattera, how is it different from the default in the ntpd package?

probonopd avatar Aug 30 '23 20:08 probonopd

that the default package, no diffrence

Hierosme avatar Aug 30 '23 21:08 Hierosme

Did you make the change on your local system? Did it change boot speed?

probonopd avatar Aug 30 '23 22:08 probonopd

My Dev system in under GNU/Linux and got it package and file by default . Yet i havent make any performance test under helloSystem.

Hierosme avatar Aug 30 '23 22:08 Hierosme