Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2020 13:23:42 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        =?UTF-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com>, multimedia@freebsd.org
Subject:   Re: rcorder circular dependency in webcamd
Message-ID:  <a8db2e79-3ec4-dec0-e43f-27d90c5a9505@selasky.org>
In-Reply-To: <f29bc0dce5cc5a00f28b004425934407@mail.yourbox.net>
References:  <f29bc0dce5cc5a00f28b004425934407@mail.yourbox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a8db2e79-3ec4-dec0-e43f-27d90c5a9505>