← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1819345] Re: knockd systemd service uses After=network.target instead of network-online.target

 

This bug was fixed in the package knockd - 0.7-1ubuntu2

---------------
knockd (0.7-1ubuntu2) disco; urgency=medium

  * Fix systemd knockd.service file:
    - use After=network-online.target (LP: #1819345)
    - add [Install] so knockd service can be enabled (LP: #1799697)

 -- Dan Streetman <ddstreet@xxxxxxxxxxxxx>  Sun, 10 Mar 2019 11:13:50
-0400

** Changed in: knockd (Ubuntu Disco)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1819345

Title:
  knockd systemd service uses After=network.target instead of network-
  online.target

Status in knockd package in Ubuntu:
  Fix Released
Status in knockd source package in Trusty:
  Invalid
Status in knockd source package in Xenial:
  Invalid
Status in knockd source package in Bionic:
  In Progress
Status in knockd source package in Cosmic:
  In Progress
Status in knockd source package in Disco:
  Fix Released
Status in knockd package in Debian:
  Unknown

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/knockd/+bug/1819345/+subscriptions