rcorder circular dependency in webcamd

Hans Petter Selasky hps at selasky.org
Mon Apr 13 11:24:33 UTC 2020


On 2020-04-13 13:12, José Pérez via freebsd-multimedia wrote:
> Hi,
> webcamd daemon script generates a circular dependency
> in rcorder.
> 
> The problem arises with the "BEFORE: devd" clause (which
> is not honored anyways).
> 
> To dig it down:
> - webcamd requires explicitly netif and implicitly ldconfig
>    (via dbus -> ldconfig)
> - devd itself requires netif and ldconfig explicitly, hence
>    the cycle.
> 
> In practice rc runs the scripts in this order:
> ldconfig
> ...
> netif
> devd
> ...
> webcamd
> 
> So the "BEFORE" statement is, as a matter of facts, ignored.
> 
> Can this be removed? I think it does, just asking here if
> anyone can shred some light. Thank you.
> 

Hi,

If the current behaviour is preserved, removing devd keyword from 
BEFORE: is ok.

--HPS



More information about the freebsd-multimedia mailing list