From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 18:58:40 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 0EBC79F3 for ; Tue, 24 Feb 2015 18:58:40 +0000 (UTC) Received: from mail-pa0-x22d.google.com (mail-pa0-x22d.google.com [IPv6:2607:f8b0:400e:c03::22d]) (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 BFF8C752 for ; Tue, 24 Feb 2015 18:58:39 +0000 (UTC) Received: by paceu11 with SMTP id eu11so38117386pac.7 for ; Tue, 24 Feb 2015 10:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=8xvXcTKVVJ7QkBnu2nOLCgAEGgsH9V7Fm9FVQ2szETo=; b=hYegkMtregKKAaMNumzbqvJkKLTPN6vE2vills3CERFqckOehPqPtcJVyOpmMsGYEy E99P1hgSUVY0ZTAflsuK9PdZBjs1SzfFm7sI+dsqD3Yj3kR59Kk8IOnSmcd5W8e0vAuQ rMnK3ZNbPOrMZi8T+q0EpuAVF9hbqnqETNZm2LqMLU93zD+71g9VUfiVNJdCGfn1sA4k EL8rdUUGaH7zqbhbkTcmZwN5NAVWo0Bbvz9yX3tq6Xq4+Tv2p6DXc6miwVuItpyIPeT7 8g0cju94EZlgk6+boE3RdMuQVXMsz7vvpHT1PFVOjgMHFara5sTOb9iaz5HEkTMQCS3Y XM5A== X-Received: by 10.66.190.163 with SMTP id gr3mr31630529pac.117.1424804318949; Tue, 24 Feb 2015 10:58:38 -0800 (PST) Received: from [192.168.20.5] (c-98-247-240-204.hsd1.wa.comcast.net. [98.247.240.204]) by mx.google.com with ESMTPSA id go1sm38836070pbd.75.2015.02.24.10.58.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Feb 2015 10:58:38 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: 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") From: Garrett Cooper In-Reply-To: Date: Tue, 24 Feb 2015 10:58:36 -0800 Message-Id: <6CFFAB58-D5E9-4355-9F0F-1A28CDCD68FF@gmail.com> References: <64AF7708-217B-4AC0-A47A-AD1B0BFF7EDC@gmail.com> <885DA4D0-9644-4F06-97C9-04EAD7B4958C@gmail.com> To: Miguel Clara X-Mailer: Apple Mail (2.1878.6) 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 18:58:40 -0000 --Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Feb 24, 2015, at 10:53, Miguel Clara wrote: >=20 > On Tue, Feb 24, 2015 at 6:13 PM, Garrett Cooper = wrote: > On Feb 24, 2015, at 6:35, Miguel Clara wrote: >=20 > > ]# 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 = =91/SERVERS|cleanvar|ldconfig|dbus/ { print NR, $0 }=92 > > 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) >=20 > 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=92s going wrong is the result of some of my = changes to remove etc/rc.d based on build knobs=85 > Cheers, >=20 > So much like the movies them... damn.... :X >=20 > 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. > I also don't really know what to make of the output... expect this = part: >=20 > "Circular dependency on provision", but the man says: > A set of files has a circular dependency which was detected while = processing the stated condition. >=20 > So it should mean that 'A' requires 'B' but 'B' requires 'A'... but = this does not seem to be the case=85 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=92t installed if MK_UNBOUND=3Dno). It looks like you=92re installing world with MK_KERBEROS=3Dno. I was going to create a dummy provider called =93DNS=94 for all scripts = to depend on (and named/unbound would PROVIDE: DNS), but it would = require backporting that script everywhere (and I haven=92t done that = quite yet=85). Please also run `make delete-old` and delete any stale rc.d scripts if = prompted by mergemaster/etcupdate. HTH, --Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU7MncAAoJEMZr5QU6S73enu8IAKOJIdqYwwzGiuo5/UznZQn8 oWuXvBteuBFri1YzkowX3HzjWmxtG53NGV/6GwUPvdaiArUBlbyOjv4tH4lFD6K1 wj9ft9p8J8SDvmElZ2TX1NRPXtBQ8208ifjYa7jy+9vpcS53NAcukmPg+dgq7+3d KewIbD/7Ep1fv8dRArUpfr0GBEDUlqfWqFUFaQviDwb5looVpaeVJvApJwZMRdEl +IXFr7bblmAz1+RvneUKKoSCyrtQsfIvoa28XKjqpNEE9HV3e2rAtoTQ0sEIzM1P KPdC29awrDpP1s3yXJGf2s1IDR3V2qKtV/7htCSEhjIlKbj1zgrx9/46r/eqXhQ= =x+1b -----END PGP SIGNATURE----- --Apple-Mail=_8A2CB008-7D8A-4946-9F6B-C07C2E0C6DC6--