rcorder circular dependency in webcamd
José Pérez
fbl at aoek.com
Mon Apr 13 16:12:15 UTC 2020
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
More information about the freebsd-multimedia
mailing list