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).
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: /bugzilla. redhat. com/show_ bug.cgi? id=1730634
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:/
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).