[Opendnssec-develop] [OpenDNSSEC] #9: ksmutil addzone defaults to wrong path

OpenDNSSEC owner-dnssec-trac at kirei.se
Thu Aug 6 12:51:17 UTC 2009


#9: ksmutil addzone defaults to wrong path
--------------------------------------+-------------------------------------
Reporter:  jonathan.stanton at cit.coop  |       Owner:  jakob          
    Type:  defect                     |      Status:  new            
Priority:  minor                      |   Component:  Unknown        
 Version:                             |    Keywords:  ksmutil addzone
--------------------------------------+-------------------------------------
 When calling ksmutil addzone with just the zone name it sets the path to
 the config and zonefiles to the wrong location (prepends \usr\local).  The
 zone mcd.coop was added manually and has the correct location.
 {{{
 opensndsec1:/var/opendnssec/unsigned# ksmutil addzone test.coop
 zonelist filename set to /etc/opendnssec/zonelist.xml.
 SQLite database set to: /var/opendnssec/kasp.db
 Imported zone: test.coop

 opensndsec1:/var/opendnssec/unsigned# cat /etc/opendnssec/zonelist.xml
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- $Id: zonelist.xml.in 1443 2009-07-30 13:17:16Z rb $ -->
 <ZoneList>
         <!--
         <Zone name="example.com">
                 <Policy>default</Policy>
 <SignerConfiguration>/var/opendnssec/signconf/example.com.xml</SignerConfiguration>
                 <Adapters>
                         <Input>
 <File>/var/opendnssec/unsigned/example.com</File>
                         </Input>
                         <Output>
 <File>/var/opendnssec/signed/example.com</File>
                         </Output>
                 </Adapters>
         </Zone>
 -->
         <Zone name="mcd.coop">
                 <Policy>default</Policy>
 <SignerConfiguration>/var/opendnssec/config/mcd.coop.xml</SignerConfiguration>
                 <Adapters>
                         <Input>
 <File>/var/opendnssec/unsigned/mcd.coop</File>
                         </Input>
                         <Output>
 <File>/var/opendnssec/signed/mcd.coop</File>
                         </Output>
                 </Adapters>
         </Zone>
         <Zone name="test.coop">
                 <Policy>default</Policy>
 <SignerConfiguration>/usr/local/var/opendnssec/config/test.coop.xml</SignerConfiguration>
                 <Adapters>
                         <Input>
 <File>/usr/local/var/opendnssec/unsigned/test.coop</File>
                         </Input>
                         <Output>
 <File>/usr/local/var/opendnssec/signed/test.coop</File>
                         </Output>
                 </Adapters>
         </Zone>
 </ZoneList>
 }}}

 This was tested against the trunk (1522).  Running Debian GNU/Linux
 squeeze/sid
 Configured with: ./configure --prefix=/usr/local --sysconfdir=/etc
 --localstatedir=/var --with-sqlite3=/usr --with-ldns=/usr --with-
 libxml2=/usr --with-botan=/usr --with-
 pkcs11-softhsm=/usr/local/lib/libsofthsm.so

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/9>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list