From owner-freebsd-ports@freebsd.org Tue Jun 12 12:16:12 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC8DE1009EDE for ; Tue, 12 Jun 2018 12:16:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DBC4801EA; Tue, 12 Jun 2018 12:16:12 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from ogg.in.absolight.net (ogg.in.absolight.net [IPv6:2a01:678:ab:50::42:42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id D50851C3F9; Tue, 12 Jun 2018 12:16:11 +0000 (UTC) (envelope-from mat@FreeBSD.org) Date: Tue, 12 Jun 2018 14:16:10 +0200 From: Mathieu Arnold To: Ciernik Tomas Cc: freebsd-ports Subject: Re: bind911 fatal error with LMDB and allow-new-zones in chrooted environment Message-ID: <20180612121610.o7fzbdhmrs245zqt@ogg.in.absolight.net> References: <0c97a1fe-b06f-2c11-9809-4ffac6b2267e@ciernik.sk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="d4yem2z4mgswxosl" Content-Disposition: inline In-Reply-To: <0c97a1fe-b06f-2c11-9809-4ffac6b2267e@ciernik.sk> User-Agent: NeoMutt/20171215 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2018 12:16:12 -0000 --d4yem2z4mgswxosl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Jun 11, 2018 at 02:43:41PM +0200, Ciernik Tomas wrote: > Hello, >=20 > I am experiencing fatal error during start after upgrading bind99 to > bind911. >=20 > I used soon-to-be-EOL bind99 in chrooted environment with support for > dynamically adding of zones. With upgrade to bind911 I decided to add > support for LMDB, too. >=20 > With this configuration (chroot, lmdb support, allow-new-zones in > named.conf) bind refuses to start with error >=20 > mdb_env_open of '_default.nzd' failed: No such file or directory >=20 > although bind user has full ACL for working directory. >=20 > Did I overlook something? Problem was resolved by disabling support for > LMDB, but it will be nice to have this feature included. >=20 > Maybe interesting point - new file _default.nzd-lock is added into > working directory, his owner is root and ACLs are 600. Could you please open a PR about this, and provide a precise way to reproduce the problem (like what exact lines to add to the configuration file, and so on.) --=20 Mathieu Arnold --d4yem2z4mgswxosl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAABCgBmBQJbH7mKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzQUI2OTc4OUQyRUQxMjEwNjQ0MEJBNUIz QTQ1MTZGMzUxODNDRTQ4AAoJEDpFFvNRg85Io8EP/i3evHNZTONxasSI8pOgs/fi qMess901rLJCyS32193ufkAn6I6Bt8SmihoFykT4uw6D0p42KgO2fcZdQlApFeE7 Jh0760LGIGeMB2qSggUppXhYOBLpaqhSI0NDBSngyTa7UwW+B9q+yveA2wJBSD/r o9teHZdFEy4KiSVo/e9hXL8ssx0HRjwuzKkcbBvunPG93dksVEBa0pxbd1m4AeAZ IRy3ZN7SKRb49yWNg/CD/QIwWg6K/+qAP/+ZFAX4uDjEJcrwT2F+yuQDIU+EBaIX I9wK1yFI6Cvs4eKWlTi8t9qkoiO53UcJhpIdyyEDzNsNZhvdd/MjqI5ipqyWEjcM BbjzaAj9LXmj1I2C04GFf8IEkUDRn4uZowVAsLgskTvjlXLQqcuOxHM6ArUZMzvq LyJgOawiR81VlRKkRImgRuOBabbhzlEsqoxseFkPPHcf67zpsMer/ps06ZWcKNHy MG84ni/P8SZo4R8ucgcp7QhtTK2P1TZ/XMsvYJwljNJVa0dDa8k6MbWdT5d8J66H RKRFbKIFY4vyI/8z6nV4+Z6m8V4Gd5fsdsjq5S8n7h9fE/Ha4YOnFInoGmIFc/ky qMTfKCFrSQO0njprqyH0Zd2X361OwEbntQOUDPXT91/Rx16bt8ZvL5dJ/jC64IaY Vs6M7gYwjeBJiE9DAIK6 =XO6n -----END PGP SIGNATURE----- --d4yem2z4mgswxosl--