Date: Mon, 28 Jun 2010 12:33:30 -0700 From: Garrett Cooper <yanefbsd@gmail.com> To: Doug Barton <dougb@freebsd.org> Cc: freebsd-current@freebsd.org, Hans Petter Selasky <hselasky@c2i.net> Subject: Re: Patch for rc.d/devd on FreeBSD 9-current Message-ID: <AANLkTileMqv0RqF-RYSZu0fueu9q0NcNtZlYj6x-QFPf@mail.gmail.com> In-Reply-To: <4C26E6A5.4010803@FreeBSD.org> References: <201006262229.09747.hselasky@c2i.net> <4C26E6A5.4010803@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 26, 2010 at 10:50 PM, Doug Barton <dougb@freebsd.org> 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 upon USB
>> device insertion. What do you think about the following patch:
>>
>> --- devd (revision 209463)
>> +++ devd (local)
>> @@ -4,7 +4,7 @@
>> #
>>
>> # PROVIDE: devd
>> -# REQUIRE: netif
>> +# REQUIRE: netif ldconfig
>> # BEFORE: NETWORKING mountcritremote
>> # KEYWORD: nojail shutdown
>
> ldconfig requires mountcritremote, so this patch would introduce a
> circular dependency.
Should ldconfig require mountcritlocal instead?
Thanks!
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTileMqv0RqF-RYSZu0fueu9q0NcNtZlYj6x-QFPf>
