Bug 245679 - periodic.conf.5: daily_status_ntpd variable typo
Summary: periodic.conf.5: daily_status_ntpd variable typo
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Baptiste Daroussin
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2020-04-17 03:38 UTC by Taylor Stearns
Modified: 2020-12-10 09:52 UTC (History)
0 users

See Also:
koobs: mfc-stable12?
koobs: mfc-stable11?


Attachments
typo-daily-status-ntpd (423 bytes, patch)
2020-04-18 14:53 UTC, Taylor Stearns
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Taylor Stearns 2020-04-17 03:38:53 UTC
In base r169517, a flag was added to periodic.conf called "daily_status_ntpd_enable".

However, it was documented in periodic.conf.5 as "daily_status_ntpd".

Below is a simple patch against head to correct this typo in the man page:

--- a/share/man/man5/periodic.conf.5
+++ b/share/man/man5/periodic.conf.5
@@ -518,7 +518,7 @@ for the previous day.
 .Pq Vt num
 Set to the number of maillog files that should be checked
 for yesterday's mail rejects.
-.It Va daily_status_ntpd
+.It Va daily_status_ntpd_enable
 .Pq Vt bool
 Set to
 .Dq Li YES
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-18 12:41:00 UTC
Thank you for the report and patch Taylor. Could you include your change as an attachment please
Comment 2 Taylor Stearns 2020-04-18 14:53:24 UTC
Created attachment 213533 [details]
typo-daily-status-ntpd

Attached, thank you!
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-06-16 12:41:19 UTC
A commit references this bug:

Author: bapt
Date: Tue Jun 16 12:40:20 UTC 2020
New revision: 362226
URL: https://svnweb.freebsd.org/changeset/base/362226

Log:
  Fix typo in the documentation about the daily ntpd status

  PR:		245679
  Submitted by:	Taylor Stearns <t@tstearns.com>
  MFC after:	3 days

Changes:
  head/share/man/man5/periodic.conf.5
Comment 4 commit-hook freebsd_committer freebsd_triage 2020-12-10 09:52:36 UTC
A commit references this bug:

Author: gbe
Date: Thu Dec 10 09:51:50 UTC 2020
New revision: 368506
URL: https://svnweb.freebsd.org/changeset/base/368506

Log:
  MFC r362226 (by bapt): Fix typo in the documentation about the daily ntpd status

  PR:		245679
  Submitted by:	Taylor Stearns <t@tstearns.com>

Changes:
_U  stable/12/
  stable/12/share/man/man5/periodic.conf.5