Date: Mon, 13 Apr 2020 18:12:05 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= <fbl@aoek.com> To: multimedia@freebsd.org Subject: Re: rcorder circular dependency in webcamd Message-ID: <32d574b7ee703686c385b0b35cf20bae@mail.yourbox.net> In-Reply-To: <93eeea0f-6b31-ce4f-29af-f19fb76b874f@selasky.org> References: <f29bc0dce5cc5a00f28b004425934407@mail.yourbox.net> <a8db2e79-3ec4-dec0-e43f-27d90c5a9505@selasky.org> <93eeea0f-6b31-ce4f-29af-f19fb76b874f@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
El 2020-04-13 14:17, Hans Petter Selasky escribió: > On 2020-04-13 13:23, Hans Petter Selasky wrote: > I think the idea behind the BEFORE keyword, is that the webcamd rc.d > file, supports a special mode where instances are launched by the > rc.conf configuration. To not conflict with devd's automatic > attachment of webcamd instances. > > --HPS You mean there is a use case when webcamd starts before devd? If you want that you need to drop the conflicting REQUIRED dependencies: -# REQUIRE: FILESYSTEMS +# REQUIRE: FILESYSTEMS netif dbus # BEFORE: devd In this case the theoretical rcorder will be: /etc/rc.d/FILESYSTEMS ... /usr/local/etc/rc.d/webcamd ... /etc/rc.d/devd But it's not (I just tried) as devd is kicked in very early and can't dig and find out why now. So the BEFORE: is definitely ignored in any case and does not affect rcorder. I think you can remove it. Regards, -- José Pérez
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32d574b7ee703686c385b0b35cf20bae>