[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howtos:network_services:ntp [2022/06/30 22:41 (UTC)] – rewrite to Slackware 15.0 and current best practices metaed | howtos:network_services:ntp [2022/09/19 22:20 (UTC)] – how to disable the default class- and type-based syslog filter metaed | ||
---|---|---|---|
Line 111: | Line 111: | ||
# touch / | # touch / | ||
# chown ntp:ntp / | # chown ntp:ntp / | ||
+ | |||
+ | NTP lets you filter certain messages out of the log, based on the message' | ||
+ | '' | ||
+ | |||
+ | clock peer sync sys | ||
+ | |||
+ | and four types defined: | ||
+ | |||
+ | info events status statistics | ||
+ | |||
+ | Because the preinstalled Slackware ''/ | ||
+ | filter, you get out-of-box behavior. NTP will pass messages that are tagged | ||
+ | with the '' | ||
+ | class. | ||
+ | |||
+ | <note important> | ||
+ | The out-of-box behavior unfortunately filters the message associated with at | ||
+ | least one common fatal condition (termination of the ntpd process when the | ||
+ | clock offset exceeds its panic threshold). | ||
+ | </ | ||
+ | |||
+ | If you want all available diagnostic messages logged, you should disable all | ||
+ | filtering by class or type in ''/ | ||
+ | |||
+ | logconfig =allall | ||
===== Statistics gathering ===== | ===== Statistics gathering ===== | ||
Line 215: | Line 240: | ||
The risk that you run if you don't set // | The risk that you run if you don't set // | ||
// | // | ||
- | wrong at boot timeand | + | wrong at boot time and give you inaccurate time, or even panic and exit. |
</ | </ | ||
Line 305: | Line 330: | ||
System services that should wait to start until the clock is stable can be | System services that should wait to start until the clock is stable can be | ||
- | preceded by the '' | + | preceded by the '' |
you could conceivably edit the MariaDB section of ''/ | you could conceivably edit the MariaDB section of ''/ | ||