[Opendnssec-develop] Re: [OpenDNSSEC] #57: Auditor + ZoneReader (NameError)

OpenDNSSEC owner-dnssec-trac at kirei.se
Thu Nov 19 21:22:39 UTC 2009


#57: Auditor + ZoneReader (NameError)
------------------------------------+---------------------------------------
Reporter:  archi.laurent@…          |       Owner:  alex                            
    Type:  defect                   |      Status:  accepted                        
Priority:  trivial                  |   Component:  Auditor                         
 Version:                           |    Keywords:  Auditor + ZoneReader (NameError)
------------------------------------+---------------------------------------

Comment(by archi.laurent@…):

 Many thanks for your answer, and sorry for the versioning of dnsruby, but
 now i can do this :
 ( 3 tests and it's just for your information, my auditor is ok with "--
 zone --signed"

 ods-auditor
 Auditor started
 Auditor starting on archi.amt
 6: SOA differs : from 2009111901 to 1258665103
 6: Auditing archi.amt zone : NSEC3 SIGNED
 6: Finished auditing archi.amt zone
 Auditor starting on 1.168.192.in-addr.arpa
 ERROR parsing line 19 :                                 ) ; key id = 17154

 '''/usr/local/lib/opendnssec/kasp_auditor/preparser.rb:108:in `prepare':
 undefined method `index' for nil:NilClass (NoMethodError)
         from /usr/local/lib/opendnssec/kasp_auditor/preparser.rb:80:in
 `normalise_zone_and_add_prepended_names'
         from /usr/local/lib/opendnssec/kasp_auditor/preparser.rb:73:in
 `foreach'
         from /usr/local/lib/opendnssec/kasp_auditor/preparser.rb:73:in
 `normalise_zone_and_add_prepended_names'
         from /usr/local/lib/opendnssec/kasp_auditor/preparser.rb:71:in
 `open'
         from /usr/local/lib/opendnssec/kasp_auditor/preparser.rb:71:in
 `normalise_zone_and_add_prepended_names'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:185:in
 `normalise_and_sort'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:184:in `fork'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:184:in
 `normalise_and_sort'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:135:in
 `run_with_syslog'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:112:in `each'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:112:in
 `run_with_syslog'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:85:in `run'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:83:in `open'
         from /usr/local/lib/opendnssec/kasp_auditor.rb:83:in `run'
         from /usr/local/bin/ods-auditor:112
 Auditor found errors - check log for details'''

 ----

 root at portable:/tmp# ods-auditor '''--zone --signed''' 1.168.192.in-
 addr.arpa
 Auditor started
 '''Auditor found no errors'''

 ----

 root at portable:/tmp# ods-auditor '''--zone --signed''' archi.amt
 Auditor started
 '''Auditor found no errors'''

 Best regards

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/57#comment:2>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list