Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 17:33:26 GMT
From:      Andriy Syrovenko <andriys@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/118315: Local startup scripts run twice
Message-ID:  <200711281733.lASHXQAA072811@www.freebsd.org>
Resent-Message-ID: <200711281740.lASHe1DZ097177@freefall.freebsd.org>

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

>Number:         118315
>Category:       conf
>Synopsis:       Local startup scripts run twice
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 28 17:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Syrovenko
>Release:        6.3-PRERELEASE
>Organization:
>Environment:
FreeBSD mosk.nirvana.intra 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Sat Nov 24 01:21:13 EET 2007     root@mosk.nirvana.intra:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
The /usr/X11R6 is now a symlink to /usr/local, so both of the two paths /usr/local/etc/ and /usr/X11R6/etc/rc.d are now point to the same directory. However in the /etc/defaults/rc.conf file the 'local_startup' variable is still set to:

local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"

This causes the local startup scripts be invoked twice on startup and shutdown of the system.

>How-To-Repeat:

>Fix:
Change the 'local_startup' to

local_startup="/usr/local/etc/rc.d"

in the /etc/defaults/rc.conf file.


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



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