Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Nov 2001 10:53:09 -0600
From:      Bourne-again Superuser <toor@twwells.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/32079: minor timebomb in /etc/rc
Message-ID:  <E165VBt-0002no-00@server.twwells.com>

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

>Number:         32079
>Category:       bin
>Synopsis:       minor timebomb in /etc/rc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 18 09:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bourne-again Superuser
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD server.twwells.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Fri Oct 12 02:24:59 CDT 2001 root@server.twwells.com:/usr/obj/usr/src/sys/SERVER_SMP i386

>Description:
	/etc/rc has a minor programming error.
>How-To-Repeat:
	RTFS. :)
>Fix:
	It's not broken, at least not until someone tries to take advantage
	of the /sbin/ldconfig parameterization. However, for that day, change:

if [ -x /sbin/ldconfig ]; then

	to

if [ -x ${ldconfig} ]; then

	in /etc/rc.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E165VBt-0002no-00>