From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 23:11:41 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F40ABFCE for ; Tue, 24 Feb 2015 23:11:40 +0000 (UTC) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (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 AC25EA3F for ; Tue, 24 Feb 2015 23:11:40 +0000 (UTC) Received: by mail-ig0-f169.google.com with SMTP id hl2so32422138igb.0 for ; Tue, 24 Feb 2015 15:11:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=uNPBL3X+eex2yMvwCw1U+9qIloKRUhAAhPNl7Mm44es=; b=BhzVScq3UHrqAg44MG+Cx777D635Y0uoqde+nyk+RigQoXYCZOUe5N/T6PLbXMy1iK +4/Y4rztJ0dr1XYn7O25EH8JcTm9f3g0NnuESp0qRcNm3jOg+qAzQE+5F8otG46rQpsl /nERM41MNuviXzlgyJ6emovHpfSUczcEpDsXTvx9KLIGPLFLrJSynn5t5vTCMKOj7B9p IQrp2sPK1VzA7dWL6GrN8CKn73XPjNFGdltGxakisxHn1SpwHQEQn+P8YL0t3yJhpGJY 1KU3jRMcoTfonQXA9WnDmxsa/kxY9dSXIwu2F5etyLswL9lSk3yXuW/i+Dt35RRKVeZe D+Yw== MIME-Version: 1.0 X-Received: by 10.42.170.200 with SMTP id g8mr679845icz.5.1424819500013; Tue, 24 Feb 2015 15:11:40 -0800 (PST) Sender: kob6558@gmail.com Received: by 10.107.174.86 with HTTP; Tue, 24 Feb 2015 15:11:39 -0800 (PST) In-Reply-To: References: <64AF7708-217B-4AC0-A47A-AD1B0BFF7EDC@gmail.com> <885DA4D0-9644-4F06-97C9-04EAD7B4958C@gmail.com> Date: Tue, 24 Feb 2015 15:11:39 -0800 X-Google-Sender-Auth: O6S_uza2yWpKas6JKNkfC4qw8mk Message-ID: Subject: Re: Shared object "libsodium.so.13" not found, required by "dnscrypt-proxy" From: Kevin Oberman To: Miguel Clara 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 , Garrett Cooper 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 23:11:41 -0000 On Tue, Feb 24, 2015 at 10:53 AM, 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 command= s > > again. I suspect what=E2=80=99s going wrong is the result of some of my= changes > 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) > > 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 this > does not seem to be the case... > > 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= . > Just to save a bit of time, many RC scripts are messed up at install time. One of the worst I have is for security/trousers-tddl. It is a mess. It wants kerberos and named, but most FreeBSD systems no longer run named or kerberos. As far as I can tell, no FreeBSD port provides a tpmd, so I have no idea where the heck that comes from. hald wants usbd which has been obsolete for some years. Certainly no providers any longer. I don't think that any supported version of FreeBSD still has usbd, so any port requiring it should be fixed. Also, webcamd and dbus have a circular dependency. It really needs to be fixed some time, but does not break anything. I suspect that whatever is causing the multiple circular dependencies on mountcritremote might be tied to the issue. I don't see the obvious problem here and I don't have it. Circular dependencies are a real pain to track down as they are often not direct. A required E and G and B requires A. But the rcorder only knows that. It does not report that E does require B and just reports that A is a circular dependency. (I hope that makes some sense.) Normally mountcritremote should be very soon after NETWORKING...usually after NETWORKING and netwait. This means it should run right after the network starts and before anything that depends on the network. rcorder /etc/rc.d/* /usr/local/etc/rc.d/* | less should show this with ldconfig right after mountcritremote. There is no reason that devfs, syslogd or any of the others listed should precede mountcritremote! The errors indicate that SOMETHING before NETWORKING and netwait is causing all of these other things to run and, BOOM, your script is firing off before ldconfig is run. Good luck! It will likely be tedious, but looking at the output of rcorder should point the finger in at least the right direction. Hete is an exerpt from mine in the area where these things belong: /etc/rc.d/NETWORKING /etc/rc.d/netwait /etc/rc.d/mountcritremote /etc/rc.d/ldconfig /etc/rc.d/accounting /etc/rc.d/newsyslog /etc/rc.d/syslogd /etc/rc.d/ntpdate /etc/rc.d/rpcbind /etc/rc.d/nfsclient /etc/rc.d/devfs /etc/rc.d/ipmon /etc/rc.d/mdconfig2 /etc/rc.d/kdc --=20 Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com