Created
February 22, 2022 20:45
-
-
Save bootrino/91ebd8a09d60dbffc148d6eeda4e61a7 to your computer and use it in GitHub Desktop.
debugging_systemd_networkd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: https://superuser.com/questions/1187633/how-to-debug-systemd-networkd | |
From https://coreos.com/os/docs/latest/network-config-with-networkd.html : | |
Enable debugging manually | |
mkdir -p /etc/systemd/system/systemd-networkd.service.d/ | |
Create Drop-In /etc/systemd/system/systemd-networkd.service.d/10-debug.conf with following content: | |
[Service] | |
Environment=SYSTEMD_LOG_LEVEL=debug | |
And restart systemd-networkd service: | |
systemctl daemon-reload | |
systemctl restart systemd-networkd | |
journalctl -b -u systemd-networkd | |
Share | |
Edit | |
Follow | |
Flag | |
answered Jul 26, 2017 at 10:45 | |
Anon | |
1,1291010 silver badges1515 bronze badges | |
8 | |
systemctl edit systemd-networkd is slightly faster as it creates automatically the needed folder and doesn't need daemon-reload. – | |
Max | |
Oct 31, 2019 at 13:35 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment