Date: Tue, 15 Sep 2015 08:41:21 -0400 From: Kurt Lidl <lidl@pix.net> To: freebsd-hackers@freebsd.org Subject: Re: Missing "Local system status" Message-ID: <55F811F1.7040202@pix.net> In-Reply-To: <20150915080318.GA89697@server.rulingia.com> References: <20150915080318.GA89697@server.rulingia.com>
index | next in thread | previous in thread | raw e-mail
On 9/15/15 4:03 AM, Peter Jeremy wrote:
> In r183242, installing etc/periodic/daily/430.status-rwho was made
> conditional on MK_RCMDS. Despite the name and enable variable, this
> script is designed to provide system status, either local or network-
> wide, depending on the existence of data in /var/rwho/.
>
> IMO, reporting local system status shouldn't depend on whether the
> rcmds are enabled or not. I believe that we should do either:
> 1) Always install 430.status-rwho and rely on ruptime not being invoked
> if $MK_RCMDS==no.
> 2) Create a new 430.status script that only checks local system status and
> install it instead of 430.status-rwho if $MK_RCMDS==no.
>
> Comments please.
>
The rwhod daemon is not compiled if MK_RCMDS != "no". Looking at
/usr/src/usr.sbin/Makefile:
.if ${MK_RCMDS} != "no"
SUBDIR+= rwhod
.endif
So the real argument ought to be if rwhod/ruptime ought to be part of a
different MK_xxx, rather than grouped into MK_RCMDS, along with
rcp, rsh, rshd, rlogin, and rlogind.
-Kurt
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55F811F1.7040202>
