Public bug reported:

I would like to request a small fix in the systemd unit file
knockd.service. Please add the [Unit] line

Wants=network-online.target

Bug description:
When the system starts, the knockd daemon fails with a message "knockd[1012]: 
could not open eno1: eno1: That device is not up". This bug was also described 
here:
https://bugzilla.redhat.com/show_bug.cgi?id=1730634

In accordance with the recommendations in the systemd.unit
documentation, it should be sufficient to accompany the After= option
with a Wants= option.

This fixed the issue for me; and in the syslog I could see that the
network manager comes online before the knockd daemon (as required),
instead of after.

Tested on Linux Mint 20.1 that is based on Ubuntu focal (knockd
0.7-1ubuntu3).

** Affects: knockd (Ubuntu)
     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/1912826

Title:
  Knockd service fails to start due to missing dependency

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

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

Reply via email to