From owner-freebsd-multimedia@freebsd.org Mon Apr 13 11:24:33 2020 Return-Path: Delivered-To: freebsd-multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D1C942BB142 for ; Mon, 13 Apr 2020 11:24:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4915qj3PKVz4T5P for ; Mon, 13 Apr 2020 11:24:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: by mailman.nyi.freebsd.org (Postfix) id 727AB2BB141; Mon, 13 Apr 2020 11:24:33 +0000 (UTC) Delivered-To: multimedia@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 723C12BB140 for ; Mon, 13 Apr 2020 11:24:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4915qh3Zlwz4T5N for ; Mon, 13 Apr 2020 11:24:31 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2020.home.selasky.org (unknown [62.141.129.235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 39D29260152; Mon, 13 Apr 2020 13:24:24 +0200 (CEST) Subject: Re: rcorder circular dependency in webcamd To: =?UTF-8?B?Sm9zw6kgUMOpcmV6?= , multimedia@freebsd.org References: From: Hans Petter Selasky Message-ID: Date: Mon, 13 Apr 2020 13:23:42 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4915qh3Zlwz4T5N X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-5.42 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-3.12)[ip: (-9.30), ipnet: 88.99.0.0/16(-4.71), asn: 24940(-1.58), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 11:24:33 -0000 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