conf/118315: Local startup scripts run twice

Andriy Syrovenko andriys at gmail.com
Wed Nov 28 09:40:02 PST 2007


>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 at 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:


More information about the freebsd-bugs mailing list