On Thu, 23 Mar 2006, Blaisorblade wrote:
On Thursday 23 March 2006 02:09, Nix wrote:
On Wed, 22 Mar 2006, David Lang uttered the following:
when you do ifup debian immediatly attempts to startup sendmail
(apparently by doing make as you see here). if you can't do name
resolution until other interfaces come up you end up with a 30 second
delay in your machine booting.
I actually do exactly the same thing in my firewall UML instance --- but
then its entire purpose is to route packets and act as a barrier between
my machine and the net so this is hardly a catastrophe, and by that
point the daemon which kicks my crappy router until it brings the line
up has been started, so it's all asynchronous and causes no net delay...
... but if the interface startup doesn't proceed asynchronously with
respect to daemon startup, then it's bad, indeed.
But look there, make it's complaining and then DHCP is starting. His problem
was just that he didn't enable UML_NET_TUNTAP driver.
About make being in /usr, I guess that since sendmail configuration must be
compiled from m4 source (otherwise it's too hard to write), when one
originall installs sendmail-cf he modifies the files and runs "make" there.
Debian there is trying to be smart anyway and helping the user which forgot
"make" (and possibly will skip "make" if ! [ -x /usr/bin/make ]), however the
problem lies in the setup somewhere (I hope that a legitimate setup wouldn't
give such a result, or I'll want to share what these maintainers
smoked :-) ).
but why would it keep doing so on every bootup?
in the case of my uml userspace I think it's got exim in there instead of
sendmail, but on my other boxes I know sendmail if fully configured and
right, but debian keeps insisting on starting it when the first interface
is started, rather then waiting until they are all started (at which time
it _would_ be able to reach it's DNS server)
David Lang
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user