Bug 128821

Summary: dhcpd.conf - include "/etc/rndc.key"; is giving error
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Gunther Nau <motionseverywhere>
Component: NetworkAssignee: Peter Poeml <poeml>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ug
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Gunther Nau 2005-10-17 20:00:47 UTC
error in var/log/messages
dhcpd: Can't open /etc/rndc.key: No such file or directory
although file does exist and syntax is correct. 

named.conf accepts this include command without error message.
My temporary solution: copy/paste the content of the rncd.key file into the 
dhcpd.conf file
Comment 1 Peter Poeml 2005-10-19 13:52:43 UTC
Why do you want to include the file in dhcpd.conf? I don't see a reason.
Comment 2 Gunther Nau 2005-10-19 20:32:33 UTC
to enable dynamic dns updates from dhcpd to named; both config files need a common key definition used to authenticate the dhcpd->named update.
key definition can be done by either copying the keydefinition into both files (dhcpd.conf and named.conf) or keep the key in a single file and reference to it (like an "include "/etc/rndc.key" in dhcpd.conf/named.conf).
Is my assumption incorrect and/or /etc/rndc.key used for another purpose and not intended for this one?
Comment 3 Peter Poeml 2005-10-20 11:48:08 UTC
partly incorrect: the /etc/rcnd.key is meant to contain a different key
file -- the one to control the name server daemon (start, stop, query
for stats, ...) with the rndc tool. See man 8 rndc.

For the DDNS key the following documentation should answer all
questions:

# rpm -ql dhcp-server | grep DDNS
/usr/share/doc/packages/dhcp-server/DDNS-howto.txt
/usr/share/doc/packages/dhcp-server/genDDNSKey.sh

If questions remain, you can contact me per mail (I am the author of the
documentation). For remaining problems, please reopen the bug or open a
separate bug.