From owner-freebsd-ports-bugs@freebsd.org Sat Sep 12 14:24:39 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 447F6A02E10 for ; Sat, 12 Sep 2015 14:24:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 164F014C8 for ; Sat, 12 Sep 2015 14:24:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8CEOcmp061090 for ; Sat, 12 Sep 2015 14:24:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203059] [patch] dns/dnscrypt-proxy: init script missing dependency on ldconfig Date: Sat, 12 Sep 2015 14:24:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: gregorio.guidi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2015 14:24:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203059 Bug ID: 203059 Summary: [patch] dns/dnscrypt-proxy: init script missing dependency on ldconfig Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: gregorio.guidi@gmail.com CC: freebsd@dns-lab.com Flags: maintainer-feedback?(freebsd@dns-lab.com) CC: freebsd@dns-lab.com Keywords: patch On my system, after installing dns/dnscrypt-proxy and activating it, I get a failure on boot due to a missing library (libsodium.so.13 not found). This seems to happen because dnscrypt-proxy starts before ldconfig during boot, so /usr/local/lib (where libsodium resides) is not in the loader path when dnscrypt-proxy starts. The following patch adds a dependency of dnscrypt-proxy to the ldconfig init script and solves the problem for me: --- /usr/ports/dns/dnscrypt-proxy/files/dnscrypt-proxy.in.old 2015-09-12 15:58:19.252440000 +0200 +++ /usr/ports/dns/dnscrypt-proxy/files/dnscrypt-proxy.in 2015-09-12 15:58:47.804793000 +0200 @@ -3,7 +3,7 @@ # $FreeBSD: head/dns/dnscrypt-proxy/files/dnscrypt-proxy.in 395430 2015-08-27 15:15:20Z feld $ # # PROVIDE: dnscrypt_proxy -# REQUIRE: SERVERS cleanvar +# REQUIRE: SERVERS cleanvar ldconfig # BEFORE: named local_unbound unbound # KEYWORD: shutdown # -- You are receiving this mail because: You are the assignee for the bug.