Jeff Schroeder wrote: > On Wed, May 13, 2009 at 9:21 AM, Ronald J. Yacketta > <[email protected]> wrote: > >> Hello all! >> >> I have a %post script that has been running flawlessly through numerous >> cobbler / koan upgrades. Recently, I have noticed that DNS resolution is >> failing in 1.6.3 / 4 during %post wget as well as yum updates. >> >> Now, I am not sure if this is a cobbler / anaconda or ? issue. >> >> I am able to hop over to virt con 2 (during koan install) and do a >> nslookup on the servers in question without issue, also resolve.conf >> looks fine. >> >> post-install.log shows: >> installing torque.repo >> --2009-04-22 14:39:40-- http://FQDN/setup/torque.repo >> Resolving FQDN... failed: Name or service not known. >> wget: unable to resolve host address `FQDN >> Removing any repo.rpmnew files >> Setting up snmpd >> --2009-04-22 14:39:40-- http://FQDN/setup/snmpd.cnf >> Resolving FQDN... failed: Name or service not known. >> wget: unable to resolve host address `FQDN' >> Setting up syslog via stunnel to timber >> --2009-04-22 14:39:40-- http://FQDN/setup/syslog.cnf >> Resolving FQDN... failed: Name or service not known. >> wget: unable to resolve host address `FQDN' >> >> ..... >> >> [r...@~]# rpm -qa koan >> koan-1.6.3-1.fc9.noarch >> [r...@~]# rpm -qa cobbler >> cobbler-1.6.4-1.fc9.i386 >> >> here is a excerpt from the %post section of the ks as well as the script >> being ran: >> >> %post >> ( >> echo "Post-Install section begins.." >> sleep 15 >> >> $SNIPPET('post_install_network_config') >> >> $SNIPPET('post_install_kernel_options') >> >> $SNIPPET('server_check.sh') >> >> $SNIPPET('post_anamon') >> >> echo "Post-Install section ends.." >> ) 2>&1 | tee /root/post-install.log >> >> >> echo "Setting up snmpd" >> wget -O /etc/snmp/snmpd.conf http://FQDN/setup/snmpd.cnf >> chkconfig snmpd on >> >> echo "Setting up syslog via stunnel to timber" >> wget -O /etc/stunnel/syslog.conf http://FQDN/setup/syslog.cnf >> wget -O /etc/init.d/syslog-stunnel http://FQDN/setup/syslog-stunnel >> >> chmod 755 /etc/init.d/syslog-stunnel >> >> chkconfig syslog-stunnel on >> >> #enable network >> echo "Enabling standard network service" >> chkconfig network on >> >> echo "Updating /etc/updatedb" >> wget -O /tmp/updatedb_conf.pl http://FQDN/setup/updatedb_conf.pl >> chmod 755 /tmp/updatedb_conf.pl >> /tmp/updatedb_conf.pl >> >> >> again, from virt con 2 during install a nslookup of FQDN resolves >> without issue. >> >> any thoughts? >> > > Can we get the output of cobbler system report --name FQDN? > > It could be the --name-servers-search is wrong. We put static subnet > declarations in our cobbler dhcp.template include the dns servers we > want used for each subnet. > >
You need to look for rpmnew files in the snippets directory (/var/lib/cobbler/snippets) -- this issue should have been fixed in 1.6.4 but you probably are still using the old snippet. _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
