From owner-freebsd-ports@freebsd.org Mon Jun 11 12:43:48 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 5074E101F126 for ; Mon, 11 Jun 2018 12:43:48 +0000 (UTC) (envelope-from tomas@ciernik.sk) Received: from anastasia.ciernik.sk (anastasia.ciernik.sk [IPv6:2a01:390:dc4:0:225:90ff:fed0:7249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "anastasia.ciernik.sk", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 982758312E for ; Mon, 11 Jun 2018 12:43:47 +0000 (UTC) (envelope-from tomas@ciernik.sk) Received: from anastasia.ciernik.sk (localhost [127.0.0.1]) by anastasia.ciernik.sk (Postfix) with ESMTP id 799241493012 for ; Mon, 11 Jun 2018 14:43:44 +0200 (CEST) X-Virus-Scanned: amavisd-new at ciernik.sk X-Spam-Flag: NO X-Spam-Score: -3 X-Spam-Level: X-Spam-Status: No, score=-3 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=no autolearn_force=no Authentication-Results: anastasia.ciernik.sk (amavisd-new); dkim=pass (2048-bit key) header.d=ciernik.sk Received: from anastasia.ciernik.sk ([127.0.0.1]) by anastasia.ciernik.sk (anastasia.ciernik.sk [127.0.0.1]) (amavisd-new, port 10026) with LMTP id TIQBOoMQLM8n for ; Mon, 11 Jun 2018 14:43:42 +0200 (CEST) Received: from [IPv6:2001:470:5b2d:100:533a:9f14:c4c9:3af9] (unknown [IPv6:2001:470:5b2d:100:533a:9f14:c4c9:3af9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by anastasia.ciernik.sk (Postfix) with ESMTPSA id 47C19149300E for ; Mon, 11 Jun 2018 14:43:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ciernik.sk; s=2016080510; t=1528721022; bh=Nl8NfzlAciXDNVre6qGWy/ZK1oeevRgJnoHBJk599uo=; h=From:Subject:To:Date; b=eD3XlQBJWv4tl20dWGOAow+ioQ37cBL9oIHqN1TgOMPBBsU7jcXFor29gvqATeGXY iJN4xTlYe5nT2PL0cVGjPGAo61C1pUDGIFMDtZeM0Y1QUhM5gt9UbFEma1VVbqELM+ 1+jmH92hhQgLZIiMpitvJHIAGGRe93FngOfoQk5xgGgOa2tC4axs07yQnjCVvolRiL ur5NcO2kFBHGoN8mm1QpEMVOkrmGlmouirlg7qwlA1gRNlKMHhQmT73PF33dN1Wr0P HDj4iDD/xL2c5SQoHYQBYzu+19am2sPkgKgSGcI8n7zm3RHI/kVTKUWSlqBFAQQFcd Xld2Ek7EiyFxw== From: Ciernik Tomas Subject: bind911 fatal error with LMDB and allow-new-zones in chrooted environment Openpgp: preference=signencrypt Autocrypt: addr=tomas@ciernik.sk; prefer-encrypt=mutual; keydata= xsFNBFS+tNQBEADoKEKHiRsilv7F9+2Rmo0FiLOPzwSSF93XuLEBF0VCmW0tblyB72ZS6ryN TIz6evcfkkopwKDegMHrU/GLoIPZkMkDewNyMUn7JQuHx5V8dTAZXzPq2RKnsBjTDk4eASfg fI9uxQ9zRn85x2OYsyCgrwZdi8+LB1zBBa2ZWprlqUQdHLIpng5l37H8liiqFfIGpj1gjIpa 9L0r7QwbelLcbKbb9QsLheizY2k4I6dmOpNFu7W6la3FoGLFt7m4In2Nrrbz4VMZ+QCdWGPg 7RBNNaMEAW8AklGVOaUQjHy3m5Qh8nJOzlhwJqn3gyE5CiEMF8OFF49gav371aUgbBg2QDNx IvNkh6XGxWg2jjLStZHHBGTGdbvsdZ7iNg3ZKewsIJZMkjRSEKKWMp9sINSpDe0FKU5lbqz9 2VDlgHlQdVaValoo2v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u3wZha00Nb7X7Nr9fNEI+oNIiPK6F8MILOWl/2RVZkkBjnyiR5PM9gOS00e CeJUj0MiOt+STFzOZGhxR/lBgJPgY6GK/EqXIck/CTupPff1drADAkgEbdh2c/GF80MAmibv pfgybS7eRBv2JvpGb3NycwaSYAEhFzOcpfRcBevEmiqzcI45sWBNAHZCUN0maBWDfuk7QxGY 3er//M5M60w4U3bqokAads6PFIl5JWR/8UBLtyKs4KspztX9VHNLiZOzNCJA14mr2ic6u9vk 0rlKnDycN2PNKmqjLeS+WrgjfGEv350QzSDkmQ== To: freebsd-ports Message-ID: <0c97a1fe-b06f-2c11-9809-4ffac6b2267e@ciernik.sk> Date: Mon, 11 Jun 2018 14:43:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PLWjB1gtneJv99LeMfTzBYrTUlDr5UbqS" 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: Mon, 11 Jun 2018 12:43:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --PLWjB1gtneJv99LeMfTzBYrTUlDr5UbqS Content-Type: multipart/mixed; boundary="YFaDZXFoczufItb2FGCR69n8xJUYt4cvq"; protected-headers="v1" From: Ciernik Tomas To: freebsd-ports Message-ID: <0c97a1fe-b06f-2c11-9809-4ffac6b2267e@ciernik.sk> Subject: bind911 fatal error with LMDB and allow-new-zones in chrooted environment --YFaDZXFoczufItb2FGCR69n8xJUYt4cvq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hello, I am experiencing fatal error during start after upgrading bind99 to bind911. 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. With this configuration (chroot, lmdb support, allow-new-zones in named.conf) bind refuses to start with error mdb_env_open of '_default.nzd' failed: No such file or directory although bind user has full ACL for working directory. Did I overlook something? Problem was resolved by disabling support for LMDB, but it will be nice to have this feature included. Maybe interesting point - new file _default.nzd-lock is added into working directory, his owner is root and ACLs are 600. Thank you in advance, Tomas. --YFaDZXFoczufItb2FGCR69n8xJUYt4cvq-- --PLWjB1gtneJv99LeMfTzBYrTUlDr5UbqS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEED8yjgAeZR9ZLJcg2n1STZULFK24FAlsebn0ACgkQn1STZULF K25GbA/+OkoTgMzc2zZdNMtFKEOR0+KV+o3cxO5ZVqx2rRb9S1CgjHuj1fwfNBTr Eylc7tC8BhcZfL+dWFPvj+Oe0yljBflo6JwVtwQb0GEgsfiOj5deIahlnz5Mu4xw 1SZfnQzbVs5zWHAST7+8gvOX4lFU/mLnA+24UdRYqUiTKysR8SHjQns3lxf1xque B+6bgbZhk3Aq1KL8xRaFxm4krlY3mN36lje6WBARROGS5e/yznCzEnPljuvx2oeE /3T6r0POcVa6qRuu16y5sC4bnoRyhx4hsblAmRejQ4sXq/rikWZXf+4ZC3NiY0vy FbIeqQkMcpxaSogHvlkVPBqtslpfLKNAl7JvNxUK2jYOVdiCSQwTPFIvYjQ+kKtK aVegxVyzqG9MFVvoQrny+kJ6a4tPtCK3TQnPta3FD8BVP0v5n5/VeBY9TNLTiZaQ 3ZILceEHSpYNpHsoZLAQca7HgL5FOqughbZv/Kt14ZEzUsq0by0TUNcSMZJ3VLaa QzTaUUP4S0vMXbeigzIoF/ZDphP1kM3fKr5/jpiqBnSxAqUjLIE2x0GX9TO+cZUv oA2Hp7LHYZQp3JDs60xQdvkX8ewTaktZvMY/tEe2LaT1eZEGVzQv0VpScNuSOar6 z1e4Wn7To4sjRm21xnTjH95LvcOfSAE94tgmgKU6KdWylHqdHOU= =5jGl -----END PGP SIGNATURE----- --PLWjB1gtneJv99LeMfTzBYrTUlDr5UbqS--