From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 30 18:10:22 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF11216A41C for ; Thu, 30 Jun 2005 18:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E3643D1F for ; Thu, 30 Jun 2005 18:10:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5UIAMLh012319 for ; Thu, 30 Jun 2005 18:10:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5UIAM5a012318; Thu, 30 Jun 2005 18:10:22 GMT (envelope-from gnats) Date: Thu, 30 Jun 2005 18:10:22 GMT Message-Id: <200506301810.j5UIAM5a012318@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: TAOKA Fumiyoshi Cc: Subject: Re: conf/82738: add amd_program line to defaults/rc.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: TAOKA Fumiyoshi List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2005 18:10:22 -0000 The following reply was made to PR conf/82738; it has been noted by GNATS. From: TAOKA Fumiyoshi To: bug-followup@FreeBSD.org Cc: fmysh@iijmio-mail.jp Subject: Re: conf/82738: add amd_program line to defaults/rc.conf Date: Fri, 1 Jul 2005 03:09:57 +0900 If you install ports/sysutils/am-utils and set amd_program="/usr/local/sbin/amd" in /etc/rc.conf, amd won't start during the system boot time. This is because amd is dynamically linked to libraries in /usr/local/lib which is not merged to the search path yet at the time amd starts up. Dependency of /etc/rc.d/amd on /etc/rc.d/ldconfig may resolve this. But is this a correct way? Index: amd =================================================================== RCS file: /home/ncvs/src/etc/rc.d/amd,v retrieving revision 1.15 diff -u -r1.15 amd --- amd 16 Jan 2005 03:12:03 -0000 1.15 +++ amd 30 Jun 2005 17:58:06 -0000 @@ -5,7 +5,7 @@ # # PROVIDE: amd -# REQUIRE: rpcbind ypbind nfsclient cleanvar +# REQUIRE: rpcbind ypbind nfsclient cleanvar ldconfig # BEFORE: DAEMON # KEYWORD: nojail -- TAOKA Fumiyoshi