git: 17948f07ebe2 - stable/13 - Remove references to timed(8)

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Mon, 14 Nov 2022 09:19:15 UTC
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=17948f07ebe2dcb99d0ae79414f6395574369c98

commit 17948f07ebe2dcb99d0ae79414f6395574369c98
Author:     Ceri Davies <ceri@FreeBSD.org>
AuthorDate: 2021-05-13 07:53:08 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-11-14 09:18:52 +0000

    Remove references to timed(8)
    
    There are still references to timed(8) and timedc(8) in the base system,
    which were removed in 2018.
    
    PR: 255425
    Reported by:    Ceri Davies <ceri at submonkey dot net>
    Reviewed by:    ygy, gbe
    Differential Revision:  https://reviews.freebsd.org/D30232
    
    (cherry picked from commit 1760799b4c612b98c0e5c1abeb03814e24c33cf6)
---
 lib/libc/rpc/rtime.3         |  4 +---
 lib/libc/sys/adjtime.2       |  6 ++----
 lib/libc/sys/clock_gettime.2 |  3 +--
 lib/libc/sys/gettimeofday.2  |  5 ++---
 libexec/rc/rc.conf           |  2 --
 share/man/man5/rc.conf.5     | 24 ------------------------
 6 files changed, 6 insertions(+), 38 deletions(-)

diff --git a/lib/libc/rpc/rtime.3 b/lib/libc/rpc/rtime.3
index 028d2beade14..e657ca50aa18 100644
--- a/lib/libc/rpc/rtime.3
+++ b/lib/libc/rpc/rtime.3
@@ -1,7 +1,7 @@
 .\" @(#)rtime.3n	2.1 88/08/08 4.0 RPCSRC; from 1.5 88/02/08 SMI
 .\" $FreeBSD$
 .\"
-.Dd November 22, 1987
+.Dd May 13, 2021
 .Dt RTIME 3
 .Os
 .Sh NAME
@@ -46,5 +46,3 @@ however, the routine will instead use
 and block until a reply is received from the time server.
 .Sh RETURN VALUES
 .Rv -std rtime
-.Sh SEE ALSO
-.Xr timed 8
diff --git a/lib/libc/sys/adjtime.2 b/lib/libc/sys/adjtime.2
index 03a93a8ae842..18f6f368d140 100644
--- a/lib/libc/sys/adjtime.2
+++ b/lib/libc/sys/adjtime.2
@@ -28,7 +28,7 @@
 .\"     @(#)adjtime.2	8.1 (Berkeley) 6/4/93
 .\" $FreeBSD$
 .\"
-.Dd June 4, 1993
+.Dd May 13, 2021
 .Dt ADJTIME 2
 .Os
 .Sh NAME
@@ -96,9 +96,7 @@ The process's effective user ID is not that of the super-user.
 .El
 .Sh SEE ALSO
 .Xr date 1 ,
-.Xr gettimeofday 2 ,
-.Xr timed 8 ,
-.Xr timedc 8
+.Xr gettimeofday 2
 .Rs
 .%T "TSP: The Time Synchronization Protocol for UNIX 4.3BSD"
 .%A R. Gusella
diff --git a/lib/libc/sys/clock_gettime.2 b/lib/libc/sys/clock_gettime.2
index 12be3c321a75..134339c24a3e 100644
--- a/lib/libc/sys/clock_gettime.2
+++ b/lib/libc/sys/clock_gettime.2
@@ -167,8 +167,7 @@ A user other than the super-user attempted to set the time.
 .Xr adjtime 2 ,
 .Xr clock_getcpuclockid 3 ,
 .Xr ctime 3 ,
-.Xr pthread_getcpuclockid 3 ,
-.Xr timed 8
+.Xr pthread_getcpuclockid 3
 .Sh STANDARDS
 The
 .Fn clock_gettime ,
diff --git a/lib/libc/sys/gettimeofday.2 b/lib/libc/sys/gettimeofday.2
index 29f713653063..08e3979149e7 100644
--- a/lib/libc/sys/gettimeofday.2
+++ b/lib/libc/sys/gettimeofday.2
@@ -28,7 +28,7 @@
 .\"     @(#)gettimeofday.2	8.2 (Berkeley) 5/26/95
 .\" $FreeBSD$
 .\"
-.Dd October 27, 2018
+.Dd May 13, 2021
 .Dt GETTIMEOFDAY 2
 .Os
 .Sh NAME
@@ -123,8 +123,7 @@ A user other than the super-user attempted to set the time.
 .Xr clock_gettime 2 ,
 .Xr ctime 3 ,
 .Xr timeradd 3 ,
-.Xr clocks 7 ,
-.Xr timed 8
+.Xr clocks 7
 .Sh HISTORY
 The
 .Fn gettimeofday
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf
index ddcf7b29b917..46a81508f844 100644
--- a/libexec/rc/rc.conf
+++ b/libexec/rc/rc.conf
@@ -402,8 +402,6 @@ tlsservd_enable="NO"		# Run rpc.tlsservd needed for NFS-over-TLS nfsd
 tlsservd_flags=""		# Flags for rpc.tlsservd
 
 ### Network Time Services options: ###
-timed_enable="NO"		# Run the time daemon (or NO).
-timed_flags=""			# Flags to timed (if enabled).
 ntpdate_enable="NO"		# Run ntpdate to sync time on boot (or NO).
 ntpdate_program="/usr/sbin/ntpdate"	# path to ntpdate, if you want a different one.
 ntpdate_flags="-b"		# Flags to ntpdate (if enabled).
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index dda8f41201e4..31c92d536b7c 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -2686,29 +2686,6 @@ This is mandatory when
 .Va pppoed_enable
 is set to
 .Dq Li YES .
-.It Va timed_enable
-.Pq Vt bool
-If set to
-.Dq Li YES ,
-run the
-.Xr timed 8
-service at boot time.
-This command is intended for networks of
-machines where a consistent
-.Dq "network time"
-for all hosts must be established.
-This is often useful in large NFS
-environments where time stamps on files are expected to be consistent
-network-wide.
-.It Va timed_flags
-.Pq Vt str
-If
-.Va timed_enable
-is set to
-.Dq Li YES ,
-these are the flags to pass to the
-.Xr timed 8
-service.
 .It Va ntpdate_enable
 .Pq Vt bool
 If set to
@@ -4829,7 +4806,6 @@ The default is 10.
 .Xr sysctl 8 ,
 .Xr syslogd 8 ,
 .Xr sysrc 8 ,
-.Xr timed 8 ,
 .Xr unbound 8 ,
 .Xr usbconfig 8 ,
 .Xr wlandebug 8 ,