From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 19:19:05 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A74F14B for ; Tue, 24 Feb 2015 19:19:05 +0000 (UTC) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 24E879BC for ; Tue, 24 Feb 2015 19:19:05 +0000 (UTC) Received: by ierx19 with SMTP id x19so34856769ier.3 for ; Tue, 24 Feb 2015 11:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ukL81O6CIR7/d1WjTX7CMsCJusbl3M34KBVzgicMc2U=; b=QokwwGrCboXUBGbC/wbOZ+2+sWOP8a7zmOeR8wCeqk0CbpC3KckzUCQhxhZQU995Gx BqK8shd17YgiD+GAMFEIfHPE+QIkJFLKVnsXYc3dXY7XhajTeip7fiGAcudP2QqxUc0e KOciMmDzXy6lpVW7j9KzzpfeSMuwpepL1Itg1Rhs+s7Rc3+PjCjNeN+cch90Qsc6bDUp +DBZNUv+ZhP5GIjfglxnjVu5a1KYSYEhiUVg58oUH7aXr5P1kZlGbm1iIzPV+pVbIDoE 7cgYObIbqsHZP57ZzDUa6qWmXwNOGkjHbBSgi5X0V55Hri/rCSWD7rdupOxsUhWp9zXz alMw== X-Received: by 10.50.234.194 with SMTP id ug2mr22397684igc.39.1424805544413; Tue, 24 Feb 2015 11:19:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.120.35 with HTTP; Tue, 24 Feb 2015 11:18:43 -0800 (PST) In-Reply-To: <6CFFAB58-D5E9-4355-9F0F-1A28CDCD68FF@gmail.com> References: <64AF7708-217B-4AC0-A47A-AD1B0BFF7EDC@gmail.com> <885DA4D0-9644-4F06-97C9-04EAD7B4958C@gmail.com> <6CFFAB58-D5E9-4355-9F0F-1A28CDCD68FF@gmail.com> From: Miguel Clara Date: Tue, 24 Feb 2015 19:18:43 +0000 Message-ID: Subject: Re: rc.d provides and recent changes to rc.d scripts in base (was Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy") To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 19:19:05 -0000 On Tue, Feb 24, 2015 at 6:58 PM, Garrett Cooper wrote: > On Feb 24, 2015, at 10:53, Miguel Clara wrote: > > > > > On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper > wrote: > > On Feb 24, 2015, at 6:35, Miguel Clara wrote: > > > > > ]# rcorder /etc/rc.d/* /usr/local/etc/rc.d/* >/dev/null > > > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `kerberos' > > > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `named' > > > rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown > provision `unbound' > > > rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'. > > > rcorder: Circular dependency on provision `dbus' in file > `/usr/local/etc/rc.d/webcamd'. > > > rcorder: Circular dependency on provision `ldconfig' in file > `/usr/local/etc/rc.d/dnscrypt-proxy'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/devfs'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/mdconfig2'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/newsyslog'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/syslogd'. > > > rcorder: Circular dependency on provision `NETWORKING' in file > `/etc/rc.d/kdc'. > > > rcorder: Circular dependency on provision `ldconfig' in file > `/etc/rc.d/SERVERS'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/archdep'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/SERVERS'. > > > rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no > providers. > > > rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'. > > > rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no > providers. > > > > > > # rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | awk > =E2=80=98/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }=E2=80=99 > > > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `kerberos' > > > rcorder: file `/usr/local/etc/rc.d/tcsd' is before unknown provision > `named' > > > rcorder: file `/usr/local/etc/rc.d/dnscrypt-proxy' is before unknown > provision `unbound' > > > rcorder: Circular dependency on file `/usr/local/etc/rc.d/webcamd'. > > > rcorder: Circular dependency on provision `dbus' in file > `/usr/local/etc/rc.d/webcamd'. > > > rcorder: Circular dependency on provision `ldconfig' in file > `/usr/local/etc/rc.d/dnscrypt-proxy'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/devfs'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/mdconfig2'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/newsyslog'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/syslogd'. > > > rcorder: Circular dependency on provision `NETWORKING' in file > `/etc/rc.d/kdc'. > > > rcorder: Circular dependency on provision `ldconfig' in file > `/etc/rc.d/SERVERS'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/archdep'. > > > rcorder: Circular dependency on provision `mountcritremote' in file > `/etc/rc.d/SERVERS'. > > > rcorder: requirement `tpmd' in file `/usr/local/etc/rc.d/tcsd' has no > providers. > > > rcorder: Circular dependency on file `/usr/local/etc/rc.d/uuidd'. > > > rcorder: requirement `usbd' in file `/usr/local/etc/rc.d/hald' has no > providers. > > > cleanvar: Command not found. > > > dbus/: Command not found. > > > > > > Note that this is still with the change to dnscrypt-ptoxy REQUIRE > (adding ldconfig) > > > > Your rcorder is 50 shades of broken :(. Please remove all local > modifications to scripts, then repost the output of the rcorder commands > again. I suspect what=E2=80=99s going wrong is the result of some of my c= hanges to > remove etc/rc.d based on build knobs=E2=80=A6 > > Cheers, > > > > So much like the movies them... damn.... :X > > > > I don't recall any changes to the rc.d scripts except the one to > dnscrypt-proxy (adding the ldconfig REQUIRE) > > Adding ldconfig can screw everything up, depending on what the ordering > is. Dependency loops can be longer than you think. Hum... removing it gives the same output.. and the issue with the order already existed anyway, so I don't think the change to dnscrypt-proxy is the main issue here... > > I also don't really know what to make of the output... expect this part= : > > > > "Circular dependency on provision", but the man says: > > A set of files has a circular dependency which was detected while > processing the stated condition. > > > > So it should mean that 'A' requires 'B' but 'B' requires 'A'... but thi= s > does not seem to be the case=E2=80=A6 > > Not directly, but indirectly, maybe. > > > I guess I'll have to go one by one and see if I can identify issue. But > first I'll make sure the ports that use those rc.d scripts are up to date= . > > Some of your ports are depending on named (which is no longer in base), > and unbound (which isn=E2=80=99t installed if MK_UNBOUND=3Dno). > > It looks like you=E2=80=99re installing world with MK_KERBEROS=3Dno. > I'm used the provided "GENERIC-NODEBUG" config, and I'm jus running "make installworld" no options... just followed the guide (1). make delete-old and make delete-old-libs were both run... > I was going to create a dummy provider called =E2=80=9CDNS=E2=80=9D for a= ll scripts to > depend on (and named/unbound would PROVIDE: DNS), but it would require > backporting that script everywhere (and I haven=E2=80=99t done that quite= yet=E2=80=A6). > > Please also run `make delete-old` and delete any stale rc.d scripts if > prompted by mergemaster/etcupdate. As stated above make delete-old was run and re-runing show nothing to delete. > > HTH, > (1) https://www.freebsd.org/doc/handbook/makeworld.html