On 05/01/2012 04:43 PM, Amy Shi wrote:
HI,

Recently I did some nfsv4 test, in one of the domain test, I noticed a lot of error from console

May 1 16:29:10 pnfs-18-07 named[21171]: none:0: open: /etc/rndc.key: file not found

Then I looked at a few S11u1 machines, none of them has this file

recently I just installed S10U10, I looked at this machine, yes it contains the /etc/rndc.key
file.

According to man page of rndc, this file is the default file for this tool.
........................................................................

-k key-file

         Use key-file as the key file  instead  of  the  default,
         /etc/rndc.key.  The  key  in  /etc/rndc.key  is  used to
         authenticate commands sent to the server if the  config-
         file does not exist.
............................................................................

so anyone knows why this file is deleted in S11u1?

Thanks
Amy
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

/etc/rndc.key is not listed in the prototype file in S10. Instead, it's generated via post-install script by 'rndc-confgen -a'. It looks like it may have been an oversight in the conversion to IPS. I have filed "7165887 /etc/rndc.conf is missing from S11" and added you to the interest list. You can use 'rndc-confgen -a' to generate it by hand.

    -Norm

        --- 9.2.0rc1 released ---

 953.   [func]          The /var/run/named.key file from change #843
                        has been replaced by /etc/rndc.key.  Both
                        named and rndc will look for this file and use
                        it to configure a default control channel key
                        if not already configured using a different
                        method (rndc.conf / controls).  Unlike
                        named.key, rndc.key is not created automatically;
                        it must be created by manually running
                        "rndc-confgen -a".
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to