* Marc Haber > I have more information now. It looks like the process didn't hang, it > just took a looooooong time to finish (like 20 minutes for a > munin-node-configure --shell --debug), with a loooong delay for _each_ > plugin. I was on a foreign network which had some DNS issues, and upon > returning to my home network, munin-node-configure now runs fine. > > So I have only one issue: If it is really a DNS timeout happening, why > is it re-happening for each and every plugin being initialized?
Aha! This sounds familiar. We've had an earlier report which in the end was reassigned to perl-modules (#275024). Bascially, that problem is that munin-run (which is invoked by munin-node-configure for each plugin) calls Net::Domain::hostfqdn() to find the canonical host name. For some strange reason, this module makes a lot of weird DNS lookup even though all the information it needs sits right there in /etc/hosts. So, given a DNS server which times out on requests instead of answering NXDOMAIN or something else right away, you'd have to wait for a lot of timeouts in order for the Net::Domain::hostfqdn() call to finish (in my testing, six (6) times!!). You could try comparing $ perl -MNet::Domain -e 'print Net::Domain::hostfqdn(),"\n"' with $ perl -MSys::Hostname -e 'print((gethostbyname(hostname()))[0],"\n")' and see if the latter returns anything more quickly than the other. If so I think the but should be merged with #275024 (if you feel like it please read that bug log and tell me if you agree or not). We consider trying the Sys::Hostname::hostname()+gethostbyname() combo before Net::Domain in order to work around that bug, but if I recall correctly we're still waiting for the Solaris/FreeBSD guy to confirm that it doesn't break anything there. If the release team are serious about freezing Sarge soon I'm afraid that workaround won't make it into Sarge, as I'd like to discuss it some more with the lead upstream developer, who is having holidays right now and won't be back at the office before the end of the month. Or we could possibly make a small Debian fork - there's a few other minor, but annoying, upstream bugs it would be nice to try to keep out of Sarge. I'll discuss it with my co-maintainer tomorrow. Thanks for your feedback, -- Tore Anderson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

