Patch for rc.d/devd on FreeBSD 9-current
Garrett Cooper
yanefbsd at gmail.com
Mon Jun 28 19:33:31 UTC 2010
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)
>> @@ -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
More information about the freebsd-current
mailing list