<div dir="ltr"><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Package: init<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Version: 1.22<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">While using the following interfaces configuration (default?):<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">/etc/network/interfaces:<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">allow-hotplug eth0<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">iface eth0 inet dhcp<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I experienced some trouble with services properly configured:<br>1°) first by update-rc.d with defaults<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">2°) then this time with insserv<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Those services were nginx and dibbler-client.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br>=====<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Please not I am unsure which package to blame.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I eventually came up with init since System Facilities dependencies enforcement is a rather low-level (and critical!) task<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">I was also able to install those dependencies bith through update-rc.d and insserv so te problem does not lie where those dependencies are installed but where (and when) they are resolved/must be enforced.<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">=====<br><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Here is how the kernel popped the network interface up:<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br>/var/log/kern.log:<br>May 13 11:57:59 sd-49041 kernel: [   17.282032] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready<br>May 13 11:57:59 sd-49041 kernel: [   17.539625] RPC: Registered named UNIX socket transport module.<br>May 13 11:57:59 sd-49041 kernel: [   17.539629] RPC: Registered udp transport module.<br>May 13 11:57:59 sd-49041 kernel: [   17.539630] RPC: Registered tcp transport module.<br>May 13 11:57:59 sd-49041 kernel: [   17.539631] RPC: Registered tcp NFSv4.1 backchannel transport module.<br>May 13 11:57:59 sd-49041 kernel: [   17.559571] FS-Cache: Loaded<br>May 13 11:57:59 sd-49041 kernel: [   17.576270] FS-Cache: Netfs 'nfs' registered for caching<br>May 13 11:57:59 sd-49041 kernel: [   17.621693] Installing knfsd (copyright (C) 1996 <a href="mailto:okir@monad.swb.de">okir@monad.swb.de</a>).<br>May 13 11:58:01 sd-49041 kernel: [   20.074827] bnx2 0000:02:00.0 eth0: NIC Copper Link is Up, 1000 Mbps full duplex<br>May 13 11:58:01 sd-49041 kernel: [   20.074833]<br>May 13 11:58:01 sd-49041 kernel: [   20.074950] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">Here are the log snippet of both services failing due to network unavailability (no IP address on interface + DNS resolution failing)<br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)"><br><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">/var/log/dibbler/dibbler-client.log:<br>2015.05.13 11:58:00 Client Critical  Interface eth0/2 is down or doesn't have any link-local address.<br>2015.05.13 11:58:00 Client Critical  Fatal error during CfgMgr initialization.<br clear="all"></div><br></div><div class="gmail_default" style="font-size:small;color:rgb(51,51,153)">/var/log/nginx/error.log:<br>2015/05/13 11:58:02 [emerg] 1901#0: host not found in resolver "<a href="http://ns0.fdn.org">ns0.fdn.org</a>" in /etc/nginx/nginx.conf:58<br clear="all"></div><div><div class="gmail_signature"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font></div></div>
</div>