Re: Patch for rc.d/devd on FreeBSD 9-current

From: Garrett Cooper <yanefbsd_at_gmail.com>
Date: Mon, 28 Jun 2010 12:33:30 -0700
On Sat, Jun 26, 2010 at 10:50 PM, Doug Barton <dougb_at_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)
>> _at__at_ -4,7 +4,7 _at__at_
>>  #
>>
>>  # 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
Received on Mon Jun 28 2010 - 17:33:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC