From owner-freebsd-current@FreeBSD.ORG Sat Jun 7 04:53:03 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E7C537B401 for ; Sat, 7 Jun 2003 04:53:03 -0700 (PDT) Received: from out006.verizon.net (out006pub.verizon.net [206.46.170.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F8F343F3F for ; Sat, 7 Jun 2003 04:53:01 -0700 (PDT) (envelope-from mtm@identd.net) Received: from kokeb.ambesa.net ([138.88.93.237]) by out006.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030607115300.NJHQ16647.out006.verizon.net@kokeb.ambesa.net>; Sat, 7 Jun 2003 06:53:00 -0500 Date: Sat, 7 Jun 2003 07:52:59 -0400 From: Mike Makonnen To: Danny Braniss In-Reply-To: References: X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out006.verizon.net from [138.88.93.237] at Sat, 7 Jun 2003 06:53:00 -0500 Message-Id: <20030607115300.NJHQ16647.out006.verizon.net@kokeb.ambesa.net> cc: freebsd-current@freebsd.org Subject: Re: rcNG & automonter(amd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2003 11:53:03 -0000 On Sat, 07 Jun 2003 13:13:15 +0300 Danny Braniss wrote: > hi, > I have a problem with /etc/rc.d/amd, because of the line > > command_args="&" > > ${amd_program} gets run in the background, ldconfig failes to cache libraries > in /usr/local/lib (which is automounted :-) > > Is there realy a need for the "&"? amd will background itself after it's > done > with the initialization stage anyway - and if not then it probably means > trouble. This may have been because of a missed merge from rcOG. How does the following work for you? Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve Index: etc/rc.d/amd =================================================================== RCS file: /home/ncvs/src/etc/rc.d/amd,v retrieving revision 1.9 diff -u -r1.9 amd --- etc/rc.d/amd 12 Oct 2002 10:31:31 -0000 1.9 +++ etc/rc.d/amd 7 Jun 2003 11:49:26 -0000 @@ -18,7 +18,6 @@ case ${OSTYPE} in FreeBSD) start_precmd="amd_precmd" - command_args="&" ;; NetBSD) command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid' @@ -56,6 +55,7 @@ warn 'amd will not load without arguments' return 1 fi + rc_flags="${rc_flags} &" ;; *) rc_flags="-p ${rc_flags} > /var/run/amd.pid 2> /dev/null" \