Bug#785253: init System Facilities network requirement not enforced properly when using allow-hotplug interface
B.R.
reallfqq-debian at yahoo.fr
Wed May 13 21:40:22 BST 2015
Package: init
Version: 1.22
While using the following interfaces configuration (default?):
/etc/network/interfaces:
allow-hotplug eth0
iface eth0 inet dhcp
I experienced some trouble with services properly configured:
1°) first by update-rc.d with defaults
2°) then this time with insserv
Those services were nginx and dibbler-client.
=====
Please not I am unsure which package to blame.
I eventually came up with init since System Facilities dependencies
enforcement is a rather low-level (and critical!) task
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.
=====
Here is how the kernel popped the network interface up:
/var/log/kern.log:
May 13 11:57:59 sd-49041 kernel: [ 17.282032] IPv6: ADDRCONF(NETDEV_UP):
eth0: link is not ready
May 13 11:57:59 sd-49041 kernel: [ 17.539625] RPC: Registered named UNIX
socket transport module.
May 13 11:57:59 sd-49041 kernel: [ 17.539629] RPC: Registered udp
transport module.
May 13 11:57:59 sd-49041 kernel: [ 17.539630] RPC: Registered tcp
transport module.
May 13 11:57:59 sd-49041 kernel: [ 17.539631] RPC: Registered tcp NFSv4.1
backchannel transport module.
May 13 11:57:59 sd-49041 kernel: [ 17.559571] FS-Cache: Loaded
May 13 11:57:59 sd-49041 kernel: [ 17.576270] FS-Cache: Netfs 'nfs'
registered for caching
May 13 11:57:59 sd-49041 kernel: [ 17.621693] Installing knfsd (copyright
(C) 1996 okir at monad.swb.de).
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
May 13 11:58:01 sd-49041 kernel: [ 20.074833]
May 13 11:58:01 sd-49041 kernel: [ 20.074950] IPv6:
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Here are the log snippet of both services failing due to network
unavailability (no IP address on interface + DNS resolution failing)
/var/log/dibbler/dibbler-client.log:
2015.05.13 11:58:00 Client Critical Interface eth0/2 is down or doesn't
have any link-local address.
2015.05.13 11:58:00 Client Critical Fatal error during CfgMgr
initialization.
/var/log/nginx/error.log:
2015/05/13 11:58:02 [emerg] 1901#0: host not found in resolver "ns0.fdn.org"
in /etc/nginx/nginx.conf:58
---
*B. R.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20150513/a6f25c55/attachment.html>
More information about the Pkg-systemd-maintainers
mailing list