From owner-freebsd-stable@FreeBSD.ORG Wed Nov 28 19:16:56 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7959C16A46C for ; Wed, 28 Nov 2007 19:16:56 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id 3EC9113C461 for ; Wed, 28 Nov 2007 19:16:56 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx1.starman.ee (mx1.starman.ee [62.65.192.16]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 33A1FA21923 for ; Wed, 28 Nov 2007 21:16:54 +0200 (EET) X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Received: from [192.168.2.100] (pc65.host1.ida.starman.ee [62.65.240.65]) by mx1.starman.ee (Postfix) with ESMTP id 4A4DF3F4080 for ; Wed, 28 Nov 2007 21:16:53 +0200 (EET) From: Andrei Kolu To: freebsd-stable@freebsd.org Date: Wed, 28 Nov 2007 21:16:51 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711282116.53008.antik@bsd.ee> Subject: questionable feature- rcvar woes X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 19:16:56 -0000 Something is wrong with rcvar or I am just blatant. For example: 1) Enable powerd in rc.conf # echo 'enable_powerd="YES"' >> /etc/rc.conf 2) Launch powerd # /etc/rc.d/powerd start Starting powerd. 3) And stopping it. # /etc/rc.d/powerd stop Stopping powerd. Everything looks fine, but when I disable powerd in rc.conf then problem arise. 1) Disable powerd in rc.conf- comment it out. # enable_powerd="YES" 2) Stop powerd # /etc/rc.d/powerd stop ...silence- nothing in logs either. What? Not even a warning message and powerd is actually running- why I have to reboot to disable it? I know that I can stop it by enabling it in rc.conf but what the point? Same problem when I want to start some service without appropriate line in rc.conf. I'd prefer to see somekind of warning about misconfigured rc.conf or at least information about what's going on in reality. Andrei