Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2013 12:23:33 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Jeremy Chadwick <jdc@koitsu.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: some issues with /usr/sbin/service
Message-ID:  <511F4205.50509@passap.ru>
In-Reply-To: <20130215213257.GA20155@icarus.home.lan>
References:  <511E0D43.6070900@dssgmbh.de> <20130215105710.GA6130@icarus.home.lan> <20130215193210.GB85777@in-addr.com> <20130215212020.GA17516@icarus.home.lan> <20130215213257.GA20155@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
16.02.2013 01:32, Jeremy Chadwick пишет:

> Follow up -- I read Alfred's most recent mail.  Lo and behold, I find
> this in /var/log/messages (but such did not come to my terminal):
> 
> Feb 15 13:26:20 icarus jdc: /usr/sbin/service: WARNING: $svnserve_enable is not set properly - see rc.conf(5).
> Feb 15 13:26:20 icarus jdc: /usr/sbin/service: WARNING: $smartd_enable is not set properly - see rc.conf(5).
> Feb 15 13:26:20 icarus jdc: /usr/sbin/service: WARNING: $rsyncd_enable is not set properly - see rc.conf(5).
> Feb 15 13:26:20 icarus jdc: /usr/sbin/service: WARNING: $htcacheclean_enable is not set properly - see rc.conf(5).
> Feb 15 13:26:20 icarus jdc: /usr/sbin/service: WARNING: $fetchmail_enable is not set properly - see rc.conf(5).
> 
> Cute.  Agreed -- this is unacceptable on two levels (as I see it):
> 
> 1) These messages should be going to stdout or stderr in some way, so
> honestly logger(8) should be called with the "-s" flag (IMO).

Fully agreed here.

> 2) These messages should not be displayed at all (i.e. lack of an
> xxx_enable variable should imply xxx_enable="no").

I see this message as one more level of supervision.

If undefined at /etc/make.conf the value of xxx_enable is "no" from the
system's POV (i.e. the service is not strarted). From the
admininstrators's POV the port was installed BUT is not used. It's up
to admininstrator whether it's OK or not -- just let him remind.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?511F4205.50509>