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

Garrett Cooper yanefbsd at gmail.com
Sat Jun 26 20:45:48 UTC 2010


On Sat, Jun 26, 2010 at 1:29 PM, Hans Petter Selasky <hselasky at c2i.net> 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

Funny since I was just monkeying around with this. This doesn't appear
to be the only issue with devd:

# devd
devd: devd already running, pid: 430
# pgrep 430; echo $?
1
#

Looks like /etc/rc.d/devd restart is broken :(...

Thanks,
-Garrett


More information about the freebsd-current mailing list