Bug 128821 - dhcpd.conf - include "/etc/rndc.key"; is giving error
Summary: dhcpd.conf - include "/etc/rndc.key"; is giving error
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Network (show other bugs)
Version: Final
Hardware: Other SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Peter Poeml
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 20:00 UTC by Gunther Nau
Modified: 2005-10-20 11:48 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.