From owner-freebsd-stable@FreeBSD.ORG Sat Feb 16 08:23:38 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47F22815 for ; Sat, 16 Feb 2013 08:23:38 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward5h.mail.yandex.net (forward5h.mail.yandex.net [IPv6:2a02:6b8:0:f05::5]) by mx1.freebsd.org (Postfix) with ESMTP id D43E7F51 for ; Sat, 16 Feb 2013 08:23:37 +0000 (UTC) Received: from smtp2h.mail.yandex.net (smtp2h.mail.yandex.net [84.201.187.145]) by forward5h.mail.yandex.net (Yandex) with ESMTP id EAA89D01B78; Sat, 16 Feb 2013 12:23:34 +0400 (MSK) Received: from smtp2h.mail.yandex.net (localhost [127.0.0.1]) by smtp2h.mail.yandex.net (Yandex) with ESMTP id A66A3170040E; Sat, 16 Feb 2013 12:23:34 +0400 (MSK) Received: from 93.91.2.200.tel.ru (93.91.2.200.tel.ru [93.91.2.200]) by smtp2h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NYQKI8hn-NYQ8PRBL; Sat, 16 Feb 2013 12:23:34 +0400 Message-ID: <511F4205.50509@passap.ru> Date: Sat, 16 Feb 2013 12:23:33 +0400 From: Boris Samorodov Organization: =?UTF-8?B?0JfQkNCeICLQktCQ0KDQoiI=?= User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Jeremy Chadwick Subject: Re: some issues with /usr/sbin/service 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> In-Reply-To: <20130215213257.GA20155@icarus.home.lan> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 08:23:38 -0000 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