<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
I”m running it as named-chroot, and named is rw permissions at the /var/named 
<div class=""><br class="">
</div>
<div class="">This is the directory listing:</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[root@mydns named]# ls -l</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">total 16</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">drwxr-x---. 7 named named   61 Oct  9 13:30
<b class="">chroot</b></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">drwxrwx---. 2 named named  127 Feb 28 03:27
<b class="">data</b></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">drwxrwx---. 2 named named   60 Mar  4 13:57
<b class="">dynamic</b></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">drwxr-xr-x. 2 named named   31 Mar  2 13:46
<b class="">log</b></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r-----. 1 named named 2253 Sep  9 09:48
<a href="http://named.ca" class="">named.ca</a></span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r-----. 1 named named  152 Sep  9 09:48 named.empty</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r-----. 1 named named  152 Sep  9 09:48 named.localhost</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">-rw-r-----. 1 named named  168 Sep  9 09:48 named.loopback</span></div>
<div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Consolas; background-color: rgb(197, 197, 197);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">drwxrwx---. 2 named named    6 Sep  9 09:47
<b class="">slaves</b></span></div>
<div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class=""><br class="">
</b></span></div>
<div>
<blockquote type="cite" class="">
<div class="">On Mar 5, 2021, at 12:19 PM, Gregory Sloop <<a href="mailto:gregs@sloop.net" class="">gregs@sloop.net</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<title class="">Re: Dynamic zone update problems, continued</title>
<div class=""><span style=" font-family:'Courier New'; font-size: 9pt;" class="">You may need to set permissions on not just the files, but the directory too. If it didn't have permissions to existing files, I suspect the parent directory doesn't allow that
 same user/group to create files either - so the jnl files don't get created.<br class="">
<br class="">
-Greg<br class="">
<br class="">
<br class="">
<span style=" color: #800000;" class=""><b class="">BJ> Fixing the permissions and restarting named got dynamic updating<br class="">
BJ> working again, but new systems (ie names that are NOT already in<br class="">
BJ> the Zone file ) are throwing errors about the journal file: error:<br class="">
BJ> journal open failed: unexpected error<br class="">
<br class="">
BJ> Mar  5 11:44:34 mydns named[45631]: client @0x7fa31f4178d0<br class="">
BJ> 10.128.206.151#58512: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> deleting<br class="">
BJ> rrset at '<a href="http://dhbfswrkgrps1.DYN.Zone.COM" class="">dhbfswrkgrps1.DYN.Zone.COM</a>' AAAA<br class="">
BJ> Mar  5 11:44:34 mydns named[45631]: client @0x7fa31f4178d0<br class="">
BJ> 10.128.206.151#58512: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> deleting<br class="">
BJ> rrset at '<a href="http://dhbfswrkgrps1.DYN.Zone.COM" class="">dhbfswrkgrps1.DYN.Zone.COM</a>' A<br class="">
BJ> Mar  5 11:44:34 mydns named[45631]: client @0x7fa31f4178d0<br class="">
BJ> 10.128.206.151#58512: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> adding an<br class="">
BJ> RR at '<a href="http://dhbfswrkgrps1.DYN.Zone.COM" class="">dhbfswrkgrps1.DYN.Zone.COM</a>' A 10.128.206.151<br class="">
BJ> Mar  5 11:45:27 mydns named[45631]: client @0x7fa31f3f7c20<br class="">
BJ> 128.196.45.228#49190: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> deleting<br class="">
BJ> rrset at '<a href="http://NIC-COPIT.DYN.Zone.COM" class="">NIC-COPIT.DYN.Zone.COM</a>' AAAA<br class="">
BJ> Mar  5 11:45:27 mydns named[45631]: client @0x7fa31f3f7c20<br class="">
BJ> 128.196.45.228#49190: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> deleting<br class="">
BJ> rrset at '<a href="http://NIC-COPIT.DYN.Zone.COM" class="">NIC-COPIT.DYN.Zone.COM</a>' A<br class="">
BJ> Mar  5 11:45:27 mydns named[45631]: client @0x7fa31f3f7c20<br class="">
BJ> 128.196.45.228#49190: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> adding an<br class="">
BJ> RR at '<a href="http://NIC-COPIT.DYN.Zone.COM" class="">NIC-COPIT.DYN.Zone.COM</a>' A 128.196.45.228<br class="">
BJ> Mar  5 11:45:27 mydns named[45631]: client @0x7fa31f3f7c20<br class="">
BJ> 128.196.45.228#49190: updating zone '<a href="http://DYN.Zone.COM/IN':" class="">DYN.Zone.COM/IN':</a> error:<br class="">
BJ> journal open failed: unexpected error<br class="">
<br class="">
<br class="">
BJ> Is there a specific command to create the .jnl file? I thought<br class="">
BJ> named created it automatically as needed. (at least the<br class="">
BJ> named-journalprint man page indicates this…)  <br class="">
<br class="">
</b></span></span></div>
</div>
</blockquote>
</div>
<br class="">
<div class="">-- <br class="">
Bruce Johnson<br class="">
University of Arizona<br class="">
College of Pharmacy<br class="">
Information Technology Group<br class="">
<br class="">
Institutions do not have opinions, merely customs<br class="">
<br class="">
</div>
<br class="">
</div>
</body>
</html>