Here are the steps I used to reproduce the bug:

1. install Linux Mint 20.1 MATE
2. install package knockd
3. in /etc/knockd.conf, add Interface = eno1 (or your network interface)
4. in /etc/default/knockd, set START_KNOCKD=1
5. run "sudo systemctl enable knockd"
6. restart
7. after restarting, knockd is not up - it failed due to eno1 not being up

I also tried to reproduce the bug on Ubuntu Desktop 20.04 LTS (focal),
minimal install variant. However, no bug occurred. Mint 20.1 is based on
focal and uses the same knockd package version, but the bug occurred
only on Mint.

According to syslog (short version attached), it appears that even the
kernel loaded the network card after knockd tried to connect. It is
possible that how fast the system brings the network up depends on other
software and Ubuntu just happens to be faster.

If you'd like the whole syslog, I'll e-mail it privately. Also let me
know if I can help by doing some additional tests. Thank you!

** Attachment added: "Excerpts from syslog"
   
https://bugs.launchpad.net/ubuntu/groovy/+source/knockd/+bug/1912826/+attachment/5457430/+files/syslog_knockd_hl.txt

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to