From owner-freebsd-current@FreeBSD.ORG Mon Jun 28 19:33:31 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFD81106566C; Mon, 28 Jun 2010 19:33:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6DFA78FC1B; Mon, 28 Jun 2010 19:33:31 +0000 (UTC) Received: by vws13 with SMTP id 13so8115256vws.13 for ; Mon, 28 Jun 2010 12:33:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CuR8c9QuloVa4F0dE+R05MBCVrCJpaEADQpTrqxlMVY=; b=Sp183SVOUFiR12gLLDRl6zXlnyovKU0DJVX2xSay9qXu4AicMhACURm62M+uzRoX59 U2TL4IcvgJ0M2U/yQtQtg2XOFFCcQKFVWmuyS/3OJ0rJeguT32k8hxIGRLS/wCcs1y0Z Rg/Vxa+5PCt1YtiFMN7zGSImP7x1n8Gr/LYpE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=LwtOB/sQIpM7O3QbrDthgKKk1hPVB0/3RaR48dkYumHBz66HA60MZOj6slDGtejj5S xcMdp0omVAAAA9kX9hOtKEK+29+3J057i7Q6ZkF8VzaEYzks03+/lBacc+ZAYTW48y09 enYhoQ08x25Fu79SY+EdFuTP8ay2NGIunaF+8= MIME-Version: 1.0 Received: by 10.224.111.68 with SMTP id r4mr2840259qap.25.1277753610555; Mon, 28 Jun 2010 12:33:30 -0700 (PDT) Received: by 10.229.80.75 with HTTP; Mon, 28 Jun 2010 12:33:30 -0700 (PDT) In-Reply-To: <4C26E6A5.4010803@FreeBSD.org> References: <201006262229.09747.hselasky@c2i.net> <4C26E6A5.4010803@FreeBSD.org> Date: Mon, 28 Jun 2010 12:33:30 -0700 Message-ID: From: Garrett Cooper To: Doug Barton Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, Hans Petter Selasky Subject: Re: Patch for rc.d/devd on FreeBSD 9-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 28 Jun 2010 19:33:31 -0000 On Sat, Jun 26, 2010 at 10:50 PM, Doug Barton wrote: > On 06/26/10 13:29, Hans Petter Selasky wrote: >> Hi, >> >> Sometimes utilities that are started by devd require libraries outside >> /usr/lib. One example is the webcamd utility which is started by devd up= on USB >> device insertion. What do you think about the following patch: >> >> --- devd =A0 =A0 =A0 =A0(revision 209463) >> +++ devd =A0 =A0 =A0 =A0(local) >> @@ -4,7 +4,7 @@ >> =A0# >> >> =A0# PROVIDE: devd >> -# REQUIRE: netif >> +# REQUIRE: netif ldconfig >> =A0# BEFORE: NETWORKING mountcritremote >> =A0# KEYWORD: nojail shutdown > > ldconfig requires mountcritremote, so this patch would introduce a > circular dependency. Should ldconfig require mountcritlocal instead? Thanks! -Garrett