Just a follow up, I've added some debug statements to bin/named/unix/os.c to see the files that named is trying to set the effective gid for, and I see:<br>[ID 873 daemon.warning] Trying to open: '/var/run/named.pid'.<br>
[ID 873 daemon.warning] unable to set effective gid to 0: Not owner<br>[ID 873 <a href="http://daemon.info">daemon.info</a>] generating session key for dynamic DNS<br>[ID 873 daemon.warning] Trying to open: '/var/run/named/session.key'.<br>
<br>We are running bind in a chrooted environment, running named as user 'named' on a Solaris 10 server:<br>/bind/sbin/named -t /chroot/domain -u named<br><br>Only when we make root's primary id to be 0, we can get rid of the warning.  We tried adding root to the group 'root', and we still get the warning.  <br>
<br>We've set /chroot/domain/var/run ownership to: drwxrwxr-x   4 root     other<br><div class="gmail_quote"><br>And named.pid gets created correctly:<br>-rw-r--r--   1 named    named<br><br>It could be something simple that I am missing.. we'll well see.  Any thoughts?   Thanks for your help,<br>
<br>AJ<br><br>On Fri, Sep 17, 2010 at 2:42 PM, aldus jung <span dir="ltr"><<a href="mailto:aldusj99@gmail.com">aldusj99@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
We recently upgraded from bind version 9.7.0 to 9.7.1-P2 and we noticed that upon start of named, we are seeing the following warning message:<br><br> [ID 123 daemon.warning] unable to set effective gid to 0: Not owner<br>

 [ID 123 <a href="http://daemon.info" target="_blank">daemon.info</a>] generating session key for dynamic DNS<br> [ID 123 daemon.warning] unable to set effective gid to 0: Not owner<br><br>On our DNS server, root user is configured as uid=0(root) gid=1(other), but we didn't encounter these warnings in version 9.7.0.  <br>

It would be easy to work around the warnings by adding root to root's group, but I wanted to understand why we are getting these warning when we didn't see this on 9.7.0.<br><br>Which file or directory is named trying to set gid to 0?<br>

<br>thanks for your help,<br><font color="#888888">AJ<br><br>
</font></blockquote></div><br>