argonaut-ldap2zone doesnt check return code of bind comands
Hello,
i found this error when working with ldap2zone
May 29 17:23:54 dns-1 named[2488]: reloading zones succeeded May 29 17:23:54 dns-1 named[2488]: zone 53.151.10.in-addr.arpa/IN: loaded serial 2012052301 May 29 17:23:54 dns-1 named[2488]: dns_master_load: /etc/bind/db.hpslab.der.edf.fr.:99: fai-1.hpslab.der.edf.fr: CNAME and other data May 29 17:23:54 dns-1 named[2488]: zone hpslab.der.edf.fr/IN: loading from master file /etc/bind/db.hpslab.der.edf.fr. failed: CNAME and other data May 29 17:23:54 dns-1 named[2488]: zone hpslab.der.edf.fr/IN: not loaded due to errors. May 29 17:23:54 dns-1 named[2488]: received control channel command 'thaw' May 29 17:23:54 dns-1 named[2488]: thawing all zones: success May 29 17:23:54 dns-1 named[2488]: dns_master_load: /etc/bind/db.hpslab.der.edf.fr.:99: fai-1.hpslab.der.edf.fr: CNAME and other data May 29 17:23:54 dns-1 named[2488]: zone hpslab.der.edf.fr/IN: loading from master file /etc/bind/db.hpslab.der.edf.fr. failed: CNAME and other data May 29 17:23:54 dns-1 named[2488]: zone hpslab.der.edf.fr/IN: not loaded due to errors.
We should have a way to check error code and tell the user if there is an error
Cheers
(from redmine: issue id 987, created on 2012-05-29, closed on 2013-05-08)
- Changesets:
- Revision 35927c15 by Benoit MORTIER on 2012-05-30T09:27:31.000Z:
Fixes: #987 argonaut-ldap2zone doesnt check return code of bind comands