<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Craig White wrote:
<blockquote
 cite="mid:1216400044.1398.72.camel@lin-workstation.azapple.com"
 type="cite">
  <pre wrap="">On Fri, 2008-07-18 at 09:36 -0700, Rick Stevens wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Steve Searle wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">Around 04:48pm on Friday, July 18, 2008 (UK time), Gijs scrawled:

      </pre>
      <blockquote type="cite">
        <pre wrap="">Not sure why this is happening so perhaps someone can explain this to me.
Whenever I update bind it messes up/resets access rights on my zone 
files. Now normally this wouldn't be a bad thing, but because I have 
dynamic updates on, for which named creates journalizing files, I end up 
having non-writeable journalizing files. So after every update I end up 
having to manually change the access rights on my jnl files.

Is anyone else having the same problem and/or is it supposed to be like 
this?
        </pre>
      </blockquote>
      <pre wrap="">I am having exactly this problem on my CentOS server.  It started
recently and I haven't managed to fix it, or find any more about it yet.

It bugs the hell out of me - if you do get a solution outside this
board can you let me know.
      </pre>
    </blockquote>
    <pre wrap="">It's undoubtedly one of the %post scripts in the rpm that's doing it.
Bugzilla it.
    </pre>
  </blockquote>
  <pre wrap=""><!---->----
actually, I don't use Fedora for bind but rather RHEL or CentOS and it
exhibits the same behavior if I have dynamic updates turned on too. The
same thing happens if I just restart manually but seemingly not when
logs rotate. I presume that a complete shutdown/restart should have the
initscript delete the journal files or something but I never bothered
trying to figure it out.

you can chmod g+s, g+w /var/named/chroot/var/named to ensure that the
journal files are always created as group named

Craig

  </pre>
</blockquote>
I only see the problem occur after I update, not when I
restart/shutdown named.<br>
And I kinda had the same feeling, about not wanting to bother to try
and figure it out, but this has happened so many times before, I got
kinda annoyed of it :P<br>
<br>
And your solution, using chmod, might work if named recreates journal
files every restart. But when I restart named, it does not recreate
them. It just leaves them as they are (neither does it chown/chmod them
for that matter). Maybe RHEL recreates jnl files every restart, but
that I don't know :)<br>
<br>
Anyway, the bug is filed under:<br>
<a class="moz-txt-link-freetext" href="https://bugzilla.redhat.com/show_bug.cgi?id=455894">https://bugzilla.redhat.com/show_bug.cgi?id=455894</a><br>
<br>
Regards, Gijs<br>
</body>
</html>