From 068b29caf4d704f3f5f2ce34d5be4101cfddd644 Mon Sep 17 00:00:00 2001 From: solene Date: Thu, 16 May 2024 11:33:59 +0000 Subject: [PATCH] Make daily(8) reporting services that are running but not enabled in rc.conf.local(8) wording by jmc@ ok schwarze@ florian@ --- etc/daily | 5 ++++- share/man/man8/daily.8 | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/etc/daily b/etc/daily index 5d052e3239c..77210e71e13 100644 --- a/etc/daily +++ b/etc/daily @@ -1,5 +1,5 @@ # -# $OpenBSD: daily,v 1.97 2023/03/03 16:22:57 bluhm Exp $ +# $OpenBSD: daily,v 1.98 2024/05/16 11:33:59 solene Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # # For local additions, create the file /etc/daily.local. @@ -136,6 +136,9 @@ done next_part "Services that should be running but aren't:" rcctl ls failed +next_part "Services that are running but shouldn't:" +rcctl ls rogue + next_part "Filesystems which need to be dumped:" dump w | grep -vB1 ^Dump diff --git a/share/man/man8/daily.8 b/share/man/man8/daily.8 index 04d0a27fa2e..20743edc7f1 100644 --- a/share/man/man8/daily.8 +++ b/share/man/man8/daily.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: daily.8,v 1.29 2020/10/20 22:42:29 danj Exp $ +.\" $OpenBSD: daily.8,v 1.30 2024/05/16 11:33:59 solene Exp $ .\" .\" Copyright (c) 2003 Jason McIntyre .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 20 2020 $ +.Dd $Mdocdate: May 16 2024 $ .Dt DAILY 8 .Os .Sh NAME @@ -112,7 +112,7 @@ for the mount options, e.g. Checks daemon status. Lists any daemons which are enabled in .Xr rc.conf.local 8 -but which are not actually running. +but which are not actually running (and vice versa). .It Reports on which file systems need to be dumped via .Xr dump 8 . -- 2.20.1