Date: Sat, 12 Sep 2015 14:24:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 203059] [patch] dns/dnscrypt-proxy: init script missing dependency on ldconfig Message-ID: <bug-203059-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203059-13>