sdwdate sclockadj change time without spamming logs

Information

ID: 691
PHID: PHID-TASK-vmidlkqnbjnc6lw6rgvo
Author: JasonJAyalaP
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

libc functions that set the time also report the time change in the system log. Making many small changes via sclockadj (which uses clock_settime) spams the logs. NTP subtly changes the time by adjusting the clock frequency with the ntp_adjtime function call.

  1. Is there a way to use functions like clock_settime without reporting to the log?

  2. Could we install ntpd, but only use it locally and manually? (Sdwdate calculates the date, but then tells ntpd what to do)

  3. Is it possible to reimplement what ntp does (which is use ntp_adjtime and related functions and monitor their progress, I think. It’s beyond my C skills). How much would it cost to hire a programmer to do this?

Comments


s.sh

2017-06-16 14:07:33 UTC


Patrick

2017-06-16 15:15:56 UTC


JasonJAyalaP

2017-06-16 22:20:58 UTC


Patrick

2017-06-16 23:30:09 UTC


JasonJAyalaP

2017-06-20 20:16:02 UTC


Patrick

2017-06-22 10:33:58 UTC


Patrick

2018-07-25 06:39:27 UTC


marmarek

2018-09-18 01:55:54 UTC