Bug 197553 - multimedia/webcamd: REQUIRE dbus BEFORE devd creates circular rcorder dependency
Summary: multimedia/webcamd: REQUIRE dbus BEFORE devd creates circular rcorder dependency
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Hans Petter Selasky
Keywords: needs-patch
Depends on:
Reported: 2015-02-12 01:08 UTC by Duane
Modified: 2020-04-10 02:46 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (hselasky)


Note You need to log in before you can comment on or make changes to this bug.
Description Duane 2015-02-12 01:08:59 UTC
Having "REQUIRE dbus BEFORE devd" in the rc.d/webcamd script creates a circular dependency which breaks my system boot.

I have removed the "BEFORE devd" from my system to restore boot, but I'm not sure what the consequences of this are.  If webcamd needs to inform devd of something should it not be possible to defer whatever devd may do until webcamd has started and then signal devd to do the work webcamd requires once webcamd has started?
Comment 1 Bugzilla Automation freebsd_committer 2015-02-12 01:08:59 UTC
Auto-assigned to maintainer hselasky@FreeBSD.org
Comment 2 Hans Petter Selasky freebsd_committer 2015-03-29 08:37:53 UTC
I'll look into this issue again in the coming week.
Comment 3 Walter Schwarzenfeld freebsd_triage 2018-01-12 23:47:51 UTC
Is this still relevant?
Comment 4 Hans Petter Selasky freebsd_committer 2018-01-13 05:44:54 UTC
There were some off-list discussions about this.

If you look at hal_init() in the webcamd sources, you see webcamd is waiting for hald.

I think the right solution is to drop the dbus dependency. It should be fine regardless.

Summed up: No need for REQUIRE dbus in the webcamd rc.d .