Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 16:52:37 +0100 (CET)
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/130782: rc(8) makes undesirable assumptions on local startup scripts
Message-ID:  <20090120155237.69C065CBF1@melamine.cuivre.fr.eu.org>
Resent-Message-ID: <200901201620.n0KGK1Hj059869@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130782
>Category:       bin
>Synopsis:       rc(8) makes undesirable assumptions on local startup scripts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 20 16:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Quinot
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD melamine.cuivre.fr.eu.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Sep 2 21:01:50 CEST 2008 root@melamine.cuivre.fr.eu.org:/space/build/obj/space/build/src/RELENG_7/sys/GENERIC i386


	
>Description:
Per the rc(8) man page, startup scripts need to support the commands:
start, stop, restart, status, poll, and rcvar.

However /etc/rc actually assumes that all startup scripts also support
at least faststart and quietstart, and this is entirely undocumented.
One cannot reasonably assume that all local startup scripts, including those
for 3rd party software, will rely on run_rc_command, so we should make
sure that scripts supporting only the documented commands are
properly handled.

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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