Bug#805385: systemd: Systemd does not wait for ifup to finish before starting services
Claudio
claudiozumbo at gmail.com
Tue Nov 17 15:39:51 GMT 2015
Package: systemd
Version: 215-17+deb8u2
Severity: important
Dear Maintainer,
Systemd does not wait for the ifup process to finish before starting the services.
This is particularly relevant when having multiple interfaces and services configured to bind only to a specific ip/interface.
Example from journalctl:
Nov 17 16:08:16 $my_host ifup[332]: Listening on LPF/eth0/e8:9a:8f:73:a9:d4
Nov 17 16:08:16 $my_host ifup[332]: Sending on LPF/eth0/e8:9a:8f:73:a9:d4
Nov 17 16:08:16 $my_host ifup[332]: Sending on Socket/fallback
Nov 17 16:08:16 $my_host ifup[332]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Nov 17 16:08:16 $my_host minissdpd[367]: Starting UPnP devices daemon: MiniSSDPd.
Nov 17 16:08:16 $my_host nginx[360]: nginx: [emerg] bind() to $public_ip:$port failed (99: Cannot assign requested address)
### later ###
Nov 17 16:08:21 $my_host dhclient[340]: bound to $public_ip -- renewal in 2147483648 seconds.
-- Package-specific info:
-- System Information:
Debian Release: 8.2
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii acl 2.2.52-2
ii adduser 3.113+nmu3
ii initscripts 2.88dsf-59
ii libacl1 2.2.52-2
ii libaudit1 1:2.4-1+b1
ii libblkid1 2.25.2-6
ii libc6 2.19-18+deb8u1
ii libcap2 1:2.24-8
ii libcap2-bin 1:2.24-8
ii libcryptsetup4 2:1.6.6-5
ii libgcrypt20 1.6.3-2
ii libkmod2 18-3
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpam0g 1.1.8-3.1
ii libselinux1 2.3-2
ii libsystemd0 215-17+deb8u2
ii mount 2.25.2-6
ii sysv-rc 2.88dsf-59
ii udev 215-17+deb8u2
ii util-linux 2.25.2-6
Versions of packages systemd recommends:
ii dbus 1.8.20-0+deb8u1
pn libpam-systemd <none>
Versions of packages systemd suggests:
pn systemd-ui <none>
-- debconf information excluded
More information about the Pkg-systemd-maintainers
mailing list