Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing "Wants" directive in systemd unit file #307

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

fmarier
Copy link
Contributor

@fmarier fmarier commented Feb 29, 2020

Per the systemd documentation (https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/#cutthecraphowdoimakesurethatmyservicestartsafterthenetworkisreallyonline), both Wants and After are required when
using the network-online.target.

Originally reported on the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=949323

@zedtools
Copy link

zedtools commented Jan 11, 2021

Please merge this. I am seeing the following error on Debian 10 when I reboot.

[*] pcap_open_live() error: ens3: That device is not up

The result is that fwknop-server fails to start.

This pull request fixes the issue.

@zedtools
Copy link

After further testing it looks like systemd-networkd-wait-online.service also needs to be enabled for this to work.

systemctl enable systemd-networkd-wait-online.service

@damienstuart damienstuart merged commit 0a1c55c into mrash:master Jan 27, 2024
@fmarier fmarier deleted the patch-4 branch January 27, 2024 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants