From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 30 02:00:34 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1A3F16A41F for ; Sat, 30 Jul 2005 02:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A5FC43D46 for ; Sat, 30 Jul 2005 02:00:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6U20Y1Y004643 for ; Sat, 30 Jul 2005 02:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6U20Yd4004642; Sat, 30 Jul 2005 02:00:34 GMT (envelope-from gnats) Date: Sat, 30 Jul 2005 02:00:34 GMT Message-Id: <200507300200.j6U20Yd4004642@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: DraX Cc: Subject: Re: misc/84030: /etc/rc.d/power_profile is not a real rc.d script X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: DraX List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jul 2005 02:00:34 -0000 The following reply was made to PR conf/84030; it has been noted by GNATS. From: DraX To: Brooks Davis Cc: freebsd-gnats-submit@freebsd.org Subject: Re: misc/84030: /etc/rc.d/power_profile is not a real rc.d script Date: Mon, 25 Jul 2005 15:08:53 -0600 (MDT) Though it's nice to avoid the actual problem with "that's not the way it should be done." It fails to address that in effect freebsd is violating the design of NetBSD rc.d. In _Design and Implementation of the NetBSD rc.d system_, Luke Mewburn lays out a standard for all scripts in /etc/rc.d. This standard is located in section 4.2.3 of the paper mentioned above. In effect he states that each script in /etc/rc.d should include the following arguments: start, and stop. With potential to also have restart, status, and rcvar. | [17:16] alex@Kroeber: ~> /etc/rc.d/power_profile start | Usage: /etc/rc.d/power_profile [0x00|0x01] In this case it is clear that power_profile violates the standard for the NetBSD rc.d system that is used by FreeBSD. /etc/rc.d/dhclient on the otherhand complies to the standard. I do not have a -CURRENT system avaliable so I can not say on the status of /etc/rc.d/wpa_supplicant. Scripts in /etc/rc.d/* should comply to the standard laid out by Design and Implementation of the NetBSD rc.d system. Apoligies for the gruffness, Alexander