Public bug reported: [impact]
the knockd systemd service file is configured to start knockd After=network.target, however the systemd 'network.target' only means network configuration has started, not completed; the interface(s) that knockd is configured to listen on may not even be up yet. In that case, starting knockd fails. [test case] install, configure, and enable knockd on a system. reboot the system, and check the logs for knockd errors about the interface not being up. verify knockd is not running. [regression potential] changing the systemd service dependency to use network-online instead of network delays when knockd starts, and regressions would be related to knockd not running before the network was fully configured, or not running at all if systemd failed to ever reach network-online target. [other info] this requires the knock systemd service file fix from bug 1799697 also, since the knockd systemd service cannot be enabled at all without that fix. this applies only to b/c/d since t/x use upstart for service management, and this bug is only in the knockd systemd service file. ** Affects: knockd (Ubuntu) Importance: Medium Assignee: Dan Streetman (ddstreet) Status: In Progress ** Affects: knockd (Ubuntu Trusty) Importance: Undecided Status: Invalid ** Affects: knockd (Ubuntu Xenial) Importance: Undecided Status: Invalid ** Affects: knockd (Ubuntu Bionic) Importance: Medium Assignee: Dan Streetman (ddstreet) Status: In Progress ** Affects: knockd (Ubuntu Cosmic) Importance: Medium Assignee: Dan Streetman (ddstreet) Status: In Progress ** Affects: knockd (Ubuntu Disco) Importance: Medium Assignee: Dan Streetman (ddstreet) Status: In Progress ** Also affects: knockd (Ubuntu Disco) Importance: Undecided Status: New ** Also affects: knockd (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: knockd (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: knockd (Ubuntu Cosmic) Importance: Undecided Status: New ** Also affects: knockd (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1819345 Title: knockd systemd service uses After=network.target instead of network- online.target To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/knockd/+bug/1819345/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs