ajjahn / puppet-dns

Module for provisioning DNS (bind9)
46 stars 112 forks source link

dosent work on Centos 7 #241

Open trondk opened 6 years ago

trondk commented 6 years ago

It fails on a fresh Centos 7, with the following error,

-- Logs begin at Thu 2017-10-26 11:37:07 CEST, end at Thu 2017-10-26 11:59:44 CEST. -- Oct 26 11:59:44 test02.greenhouse.dk systemd[1]: Starting Berkeley Internet Name Domain (DNS)... Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone localhost/IN: loading from master file /etc/named/db.local failed: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone localhost/IN: not loaded due to errors. Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: _default/localhost/IN: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 127.in-addr.arpa/IN: loading from master file /etc/named/db.127 failed: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 127.in-addr.arpa/IN: not loaded due to errors. Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: _default/127.in-addr.arpa/IN: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 0.in-addr.arpa/IN: loading from master file /etc/named/db.0 failed: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 0.in-addr.arpa/IN: not loaded due to errors. Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: _default/0.in-addr.arpa/IN: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 255.in-addr.arpa/IN: loading from master file /etc/named/db.255 failed: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 255.in-addr.arpa/IN: not loaded due to errors. Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: _default/255.in-addr.arpa/IN: file not found Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 1.16.172.IN-ADDR.ARPA/IN: loaded serial 1509011211 Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone 115.168.192.IN-ADDR.ARPA/IN: loaded serial 1509011211 Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone greenhouse.dk/IN: loaded serial 1509011211 Oct 26 11:59:44 test02.greenhouse.dk bash[7848]: zone local/IN: loaded serial 1509011211 Oct 26 11:59:44 test02.greenhouse.dk systemd[1]: named.service: control process exited, code=exited status=1 Oct 26 11:59:44 test02.greenhouse.dk systemd[1]: Failed to start Berkeley Internet Name Domain (DNS). Oct 26 11:59:44 test02.greenhouse.dk systemd[1]: Unit named.service entered failed state. Oct 26 11:59:44 test02.greenhouse.dk systemd[1]: named.service failed.

ybrock commented 6 years ago

Hi, I've got the same issue and I don't find the commit fixing this is any branch.

Is there a workaround to at least create the missing db files to go on with this module ?