Forked from rkalkani/Enable systemd-networkd debugging
Last active
September 27, 2023 11:31
-
-
Save daniel-hadorn/1cd9a62111ff71825f1b7a2ea54eb3cc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Enable systemd-networkd debugging | |
| mkdir -p /etc/systemd/system/systemd-networkd.service.d/ | |
| mkdir -p /etc/systemd/system/systemd-resolved.service.d/ | |
| mkdir -p /etc/systemd/system/systemd-timesyncd.service.d/ | |
| Create Drop-In /etc/systemd/system/systemd-networkd.service.d/10-debug.conf with following content: | |
| Create Drop-In /etc/systemd/system/systemd-resolved.service.d/10-debug.conf with following content: | |
| Create Drop-In /etc/systemd/system/systemd-timesyncd.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 | |
| systemctl restart systemd-resolved | |
| systemctl restart systemd-timesyncd | |
| journalctl -b -u systemd-networkd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment