From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 27 16:50:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E8C1065677 for ; Fri, 27 Mar 2009 16:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9D3408FC19 for ; Fri, 27 Mar 2009 16:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2RGo4Xq088017 for ; Fri, 27 Mar 2009 16:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2RGo49l088016; Fri, 27 Mar 2009 16:50:04 GMT (envelope-from gnats) Resent-Date: Fri, 27 Mar 2009 16:50:04 GMT Resent-Message-Id: <200903271650.n2RGo49l088016@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erwan David Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC9051065694 for ; Fri, 27 Mar 2009 16:46:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AA46E8FC12 for ; Fri, 27 Mar 2009 16:46:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2RGkQKO036533 for ; Fri, 27 Mar 2009 16:46:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2RGkQp8036532; Fri, 27 Mar 2009 16:46:26 GMT (envelope-from nobody) Message-Id: <200903271646.n2RGkQp8036532@www.freebsd.org> Date: Fri, 27 Mar 2009 16:46:26 GMT From: Erwan David To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133130: unbound : does not start during boot X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 16:50:05 -0000 >Number: 133130 >Category: ports >Synopsis: unbound : does not start during boot >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Mar 27 16:50:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Erwan David >Release: 7.1-RELEASE-p4 >Organization: >Environment: FreeBSD nez-casse.depot.rail.eu.org 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: At boot, unbound fails to start with the following error messages Mar 26 22:31:01 nez-casse unbound: [653:0] notice: init module 0: validator Mar 26 22:31:01 nez-casse unbound: [653:0] notice: init module 1: iterator Mar 26 22:31:01 nez-casse unbound: [653:0] notice: openssl has no entropy, seeding with time and pid Mar 26 22:31:01 nez-casse unbound: [653:0] error: Error for server-cert-file: /unbound_server.pem Mar 26 22:31:01 nez-casse unbound: [653:0] error: Error in SSL_CTX use_certificate_file crypto error:0200100D:system library:fopen:Permission denied Mar 26 22:31:01 nez-casse unbound: [653:0] error: and additionally crypto error:20074002:BIO routines:FILE_CTRL:system lib Mar 26 22:31:01 nez-casse unbound: [653:0] error: and additionally crypto error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib Mar 26 22:31:01 nez-casse unbound: [653:0] error: util/alloc.c at 131 could not pthread_spin_destroy(&alloc->lock): Invalid argument Mar 26 22:31:01 nez-casse unbound: [653:0] fatal error: Could not initialize main thread /unbound_server.pem is not mentionned in /usr/local/etc/unbound/unbound.conf However after boot /usr/local/etc/rc.d/unbound start works without any problem. Except one must restart all daemons which relies on a working DNS (apache, etc) at start time. This beahvious was seen under 7.1-Release-p2 also >How-To-Repeat: Install unbound, reboot >Fix: >Release-Note: >Audit-Trail: >Unformatted: