From nobody Sat Feb 17 18:34:14 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TccsH1jfsz5BlQ5 for ; Sat, 17 Feb 2024 18:34:27 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TccsH0wlYz45my; Sat, 17 Feb 2024 18:34:27 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708194867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R3ICbDVMPY3qbvxPfCvJhnjTn6Jvj87rt0STlOPZ8WY=; b=b5CYbYPQRmrxw9msXf2ezO0SyWv3SbBBLIHi1XF2wRXslTqQgrmBVi7SrTjhTngIMoJhQ+ jqNtcgpexqvCQddkEBNTpd4Wlm3XdBB2Ldp20JrVei19ahtq9l2fS8oRhaWVxi6AErL8T1 iHWP4QNHsSPeiJr6gMdTQgjjvYA+Z0F0yxkO8OpXn0j2xaE5p6WV9q27OG9I0/MHuUoima 5AZ4tfiuF4lsCKT7dAWiC9xSt++iUrG8RnCuBgJrskiLcHAPnqctCHCFZA5ooQZSbAQTBZ vcfuMyEywN2L4Wka5sYdFWKce9fAKr5mQiN5pMPrBI7spxUOCn60BE2W72QVXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708194867; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=R3ICbDVMPY3qbvxPfCvJhnjTn6Jvj87rt0STlOPZ8WY=; b=rk9qzt8mo+xx+SqCFqK55CKh3N3bkcpDLUHQx4bLPwmcIzPT7d/dR4F7lak5SX9/NEgH2L QQlcy18ElvwyWHPRUOQB5j5CGSz9sB4ncI/ichaYxote2C7tEXoMCRHm/ANlCMSnhrlqC4 UiC0gqu3k4VYGZA9xBoeTqdjPEYYTeMXwE03Hj2o0QOeleJqAoODmLcw0FasdGem4EF2z0 iFQoOaWrpP7h47Z+ptsQQMxxLM+fx17f3UjF9zSKTBtkCq7On23RxYdqNl2WMnGXdqwHcC 57cO3chPi5OqH5/0ZG7vqR3XJa8QhLZVrMH8LIGpWW4YMJV2oudPefHHB18y0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708194867; a=rsa-sha256; cv=none; b=czP2hhTXqUDqDtUUFNLca9ggIDdqfBHTL1KpFLKiItU0fXDPcuvSRHLRR/hbyqi5XHMMB0 /wzKQnMeWnPpPwMXMVhQGO7xCK6k9dFl1JBOOdVLo5TUn534FmMpydDPgs4PLGZnJAsn1E Hyjg8Ey3DHW//eH8xBK0tCuceb3Ax99QjfKepVczAoMlbRZHzgeq/Op9GyFC4KLAJKWGFD qyfKsgu5qB+DyUFhM6BohqnXS4Gyf27W17SqxLjNLRKDb90yKkgdD9gAJzBymjebLHE8j5 LHhM4W6vU3hcHv/kYUEy0RcHVB9bAH6b3BHOH5bvCLCCyZ8JbQveLpsXg+bifw== Received: from mx.bofh.network (mx.bofh.network [5.9.249.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TccsG4bXjz17GN; Sat, 17 Feb 2024 18:34:26 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id a2973ca2 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Sat, 17 Feb 2024 18:34:25 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: Bind918 slave reports Dumping master file...open: file not found From: Moin Rahman In-Reply-To: Date: Sat, 17 Feb 2024 19:34:14 +0100 Cc: freebsd-ports@freebsd.org Message-Id: References: To: bob prohaska X-Mailer: Apple Mail (2.3731.700.6.1.1) --Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On Feb 17, 2024, at 7:26 PM, bob prohaska wrote: >=20 > A releng/14 armv7 system using bind918 from pkg has been > configured as a slave. The zone files were moved from a > bind913 installation to the default /usr/local/etc/namedb. > Transfers from the master seem to work and the slave answers > queries. >=20 > The options section of named.conf contains: > directory "/usr/local/etc/namedb/working"; > pid-file "/var/run/named/pid"; > dump-file "/var/dump/named_dump.db"; > statistics-file "/var/stats/named.stats"; > recursion no; >=20 >=20 > The files and directories exist with reasonable permissions: >=20 > # ls -ld /usr/local/etc/namedb/working > drwxr-xr-x 2 bind bind 512 Feb 16 15:29 /usr/local/etc/namedb/working >=20 > # ls -l /var/run/named/pid > -rw-r--r-- 1 bind bind 5 Feb 16 15:29 /var/run/named/pid >=20 > # ls -l /var/dump/named_dump.db > -rw-r--r-- 1 bind bind 0 Feb 16 15:28 /var/dump/named_dump.db >=20 > After stopping and restarting named /var/log/messages still contains: > ... > Feb 16 15:35:38 ns2temp named[3730]: all zones loaded > Feb 16 15:35:38 ns2temp named[3730]: running > Feb 16 15:35:38 ns2temp named[3730]: dumping master file: = slave/tmp-GJCoWCIfkq: open: file not found > Feb 16 15:35:38 ns2temp named[3730]: managed-keys.bind.jnl: open: = permission denied > Feb 16 15:35:38 ns2temp named[3730]: managed-keys-zone: = keyfetch_done:dns_journal_open -> unexpected error > Feb 16 15:35:38 ns2temp named[3730]: managed-keys-zone: error during = managed-keys processing (unexpected error): DNSSEC validation may be at = risk > Feb 16 15:35:38 ns2temp named[3730]: checkhints: b.root-servers.net/A = (170.247.170.2) missing from hints > Feb 16 15:35:38 ns2temp named[3730]: checkhints: b.root-servers.net/A = (199.9.14.201) extra record in hints > Feb 16 15:35:38 ns2temp named[3730]: checkhints: = b.root-servers.net/AAAA (2801:1b8:10::b) missing from hints > Feb 16 15:35:38 ns2temp named[3730]: checkhints: = b.root-servers.net/AAAA (2001:500:200::b) extra record in hints > Feb 16 15:35:38 ns2temp named[3730]: dumping master file: = slave/tmp-Q6Y3sYziKE: open: file not found > Feb 16 15:35:38 ns2temp named[3730]: dumping master file: = slave/tmp-vASSKxorvs: open: file not found >=20 > The "...file not found..." errors repeat at intervals. The checkhints = errors appear > harmless since the server is not recursive. >=20 > I did not adopt the convention of naming directories primary and = secondary, sticking > with the old master and slave nomenclature. Could that be the culprit? = I'm hesitant > to mess with zone files that work 8-) >=20 > Any hints on where to look in the man pages would be much appreciated. = I thought > there was a configuration test somewhere in the bind package but don't = find it. >=20 > Thanks for reading, >=20 > bob prohaska >=20 Do you have a directory named `slave` under = `/usr/local/etc/namedb/working` ? Kind regards, Moin --Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmXQ/CZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJHi3Q//WOKDaB+yZ26D+Y7f4eJwtPk7GvQY/iiQiKcS+zi9bf39tSFKM83dL8Qj RDSKrFy5tc82ZDGnx+JZAKSMTxRapdtuAH8CWpEBIfxh4gTdbR+7/q5+RT0hEqIT 4CYZJkcaPHW1LD0PGxZH/TsK3glWFV3vGqTtnN9j5z6smL5x4eqd5D6yXjM9rNwe Kzhx+p6vciTGpTlcdpC8mfNUGMpCexikLRK6syYKLubgg0Ja0XY7X5tYpXjk9+Vz iC6doTzt708TmQaRDxw1AckOvaIU6+4iQpFO6n241pjufsGGpZDk3YwWViAazL/B 4ypVG2shFPQHwh/3jXQHl5PC2nK5ukz3TkAtz1uZ6LeV1wwxQEYe97a/AJ9FRt3K P9cbT03AYGRIiPUF3xcoT9Xn2NgQd27XuaTsJ/Vmo4KwJ8bILROQyGco0FlpaLlI 7LWhZqAJot5Qb/FUqSVlb5wIrePHRIktY9rmid8bF9kKE8fwLqr7POekQyGEGyki 4f6CmoBlPlGsxNwQnkwgtVADrFy/f0FcrakOl/aR/HIy4AsSHlaANIeYAMRuGeCP tg9qdgPMhAKVdLcKy5E1YdHqKAi0DPxmAMKD2IR2/4wM6dy4KZ0WiDkdIOyUZurB 1yiXO+gYnozD71jttZclqP70Yztt0ohtqye8dDOdempsQm2Vq6M= =vW4D -----END PGP SIGNATURE----- --Apple-Mail=_D46B1E7F-7354-4C2B-BBFB-71C50CD0E82A--