Description of problem:
The -d option (specify different key directory) of dnssec-signzone does not
work. Using strace I see dnssec-signzone trying to open the keys in the current
cirectory, with and without the -d option.
Version-Release number of selected component (if applicable):
bind-9.3.3-5.el5 (although the software reports 9.3.3rc2)
- Create a DNS zone file (example.com)
- Create a zone signing key:
dnssec-keygen -a RSASHA1 -b 1024 -n ZONE example.com
- Create a key signing key:
dnssec-keygen -f KSK -a RSASHA1 -b 1280 -n ZONE example.com
- Add the contents of the generated .key files to the zone file
- Move the key files (both .key and .private) to another directory
- Sign the zone:
dnssec-signzone -d /other/dir/ example.com
This will fail with the error: "dnssec-signzone: warning: No keys specified or
found". Placing the .key and .private files in the same directory as the zone
file makes it work (with and without the -d option)
It should use the specified directory instead of the current directory.
dnssec-signzone now really ignores -d option. Could you please test proposed fix
and tell me your impressions?
I'm downloading the source RPM now, and I'll test it as soon as possible. I will
be out of the office tomorrow, but I hope to have it tested by friday.
Fix confirmed. Works like a charm :)
(In reply to comment #3)
Yeah, thanks for your very fast response. Fix could be avaliable in RHEL5 U1
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Upstream denied proposed patch because it breaks regression. -d option is now
used for keyset files for child zones, not for signing keys. It's absolutely
neccessary create new option. I've called it -D and proposed update is now
Sorry for the late reply. I will look at this new version soon. I just read up
on the -d option in bind, and it is very useful the way it is now, so good
decision to add a new -D option :-)
Can you make the RPM available again? The current link does not work anymore.
(In reply to comment #14)
Yeah. You could visit http://people.redhat.com/atkac/test_srpms/ and download
rhel5 version. I always doing cleanup after reporter verify fix :)
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.