This seems to be more than just kea affected.  From what I can tell,
systemd's network-online.target and network.target are basically useless
on 16.04 server.  I'm running 16.04 server with ifupdown, which is stock
as far as I can tell, so I'm running neither systemd-networkd or
NetworkManager and any references to network.target or network-
online.target in systemd unit definitions seem to do nothing.

This works around it successfully:

http://unix.stackexchange.com/questions/209832/debian-systemd-network-
online-target-not-working

...but we really shouldn't have to write shell wrappers around ifquery
in a systemd unit definition just to get a daemon to wait for network,
IMHO.

$ uname -a
Linux cherry 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux

$ dpkg --get-selections | grep ifup
ifupdown                                        install

$ dpkg -s systemd
Package: systemd
Status: install ok installed
Priority: important
Section: admin
Installed-Size: 18792
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 229-4ubuntu7
Replaces: systemd-services, udev (<< 228-5)
Provides: systemd-services
Depends: libacl1 (>= 2.2.51-8), libapparmor1 (>= 2.9.0-3+exp2), libaudit1 (>= 
1:2.2.1), libblkid1 (>= 2.19.1), libcap2 (>= 1:2.10), libcryptsetup4 (>= 
2:1.4.3), libgpg-error0 (>= 1.14), libkmod2 (>= 5~), libmount1 (>= 2.26.2), 
libpam0g (>= 0.99.7.1), libseccomp2 (>= 2.1.0), libselinux1 (>= 2.1.9), 
libsystemd0 (= 229-4ubuntu7), util-linux (>= 2.27.1), mount (>= 2.26), adduser, 
libcap2-bin
Pre-Depends: libc6 (>= 2.17), libgcrypt20 (>= 1.6.1), liblzma5 (>= 
5.1.1alpha+20120614), libselinux1 (>= 1.32)
Recommends: libpam-systemd, dbus
Suggests: systemd-ui, systemd-container
Breaks: apparmor (<< 2.9.2-1), ifupdown (<< 0.8.5~), lsb-base (<< 4.1+Debian4), 
lvm2 (<< 2.02.104-1), systemd-shim (<< 8-2), udev (<< 228-5)
Conflicts: klogd, systemd-services
Conffiles:
 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf 
f55c94d000b5d62b5f06d38852977dd1
 /etc/dbus-1/system.d/org.freedesktop.locale1.conf 
5893ab03e7e96aa3759baceb4dd04190
 /etc/dbus-1/system.d/org.freedesktop.login1.conf 
4aac4fe1a99c9fca83c85b80e4e0c2ba
 /etc/dbus-1/system.d/org.freedesktop.network1.conf 
162e9a90d8f824f79ef2c6390827ec7b
 /etc/dbus-1/system.d/org.freedesktop.resolve1.conf 
6969148b4616c56a5c9065cec5ab0775
 /etc/dbus-1/system.d/org.freedesktop.systemd1.conf 
846824928e39a465c06c3aae53510535
 /etc/dbus-1/system.d/org.freedesktop.timedate1.conf 
682369fbf3de26b21e775732c89a2bbe
 /etc/dhcp/dhclient-exit-hooks.d/timesyncd a891f21f45b0648b7082d999bf424591
 /etc/pam.d/systemd-user 3bdb96b18046bd209135cdfe73421db6
 /etc/systemd/bootchart.conf 7cb6c9cab8ec511882e0e05fceb87e45
 /etc/systemd/journald.conf d928a3ce9f51fcff8ed925270f14a2aa
 /etc/systemd/logind.conf 5b41bb868487d1013382b738f6648328
 /etc/systemd/resolved.conf cc77726b02979ddc8b034a338f7bdea9
 /etc/systemd/system.conf 1340491c660f9eb234c92fe1225ff427
 /etc/systemd/timesyncd.conf 4e1cf2b5f85dff6c1f186135b9f66a85
 /etc/systemd/user.conf 2eaf5976751be8864d0555f30814d832
Description: system and service manager
 systemd is a system and service manager for Linux. It provides aggressive
 parallelization capabilities, uses socket and D-Bus activation for starting
 services, offers on-demand starting of daemons, keeps track of processes
 using Linux control groups, supports snapshotting and restoring of the system
 state, maintains mount and automount points and implements an elaborate
 transactional dependency-based service control logic.
 .
 systemd is compatible with SysV and LSB init scripts and can work as a
 drop-in replacement for sysvinit.
 .
 Installing the systemd package will not switch your init system unless you
 boot with init=/bin/systemd or install systemd-sysv in addition.
Homepage: http://www.freedesktop.org/wiki/Software/systemd
Original-Maintainer: Debian systemd Maintainers 
<pkg-systemd-maintain...@lists.alioth.debian.org>

$ dpkg -s kea-dhcp4-server
Package: kea-dhcp4-server
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 1126
Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
Architecture: amd64
Source: isc-kea
Version: 1.0.0-1build1
Depends: kea-common (= 1.0.0-1build1), libc6 (>= 2.4), libgcc1 (>= 1:3.0), 
libstdc++6 (>= 5.2)
Suggests: kea-doc
Conffiles:
 /etc/init.d/kea-dhcp4-server d6fd55ff46468ab22f7ffe45c69ee12c
 /etc/kea/kea-dhcp4.conf 55ecde1ffcdbaef3986557df293c842a
Description: ISC KEA IPv4 DHCP server
 KEA is an IPv4 and IPv6 DHCP server developed by Internet Systems Consortium
 providing a very high-performance with PostgreSQL, MySQL and memfile backends.
 .
 This package provides the IPv4 DHCP server.
Original-Maintainer: Adam Majer <ad...@zombino.com>
Homepage: http://kea.isc.org/

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1550784

Title:
  kea dhcp server daemons brought up before networking

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-kea/+bug/1550784/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to