Bug 197553

Summary: multimedia/webcamd: REQUIRE dbus BEFORE devd creates circular rcorder dependency
Product: Ports & Packages Reporter: Duane <parakleta>
Component: Individual Port(s)Assignee: Hans Petter Selasky <hselasky>
Status: In Progress ---    
Severity: Affects Many People CC: emaste, w.schwarzenfeld
Priority: --- Keywords: needs-patch
Version: LatestFlags: bugzilla: maintainer-feedback? (hselasky)
Hardware: Any   
OS: Any   

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 .