Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save daniel-hadorn/1cd9a62111ff71825f1b7a2ea54eb3cc to your computer and use it in GitHub Desktop.

Select an option

Save daniel-hadorn/1cd9a62111ff71825f1b7a2ea54eb3cc to your computer and use it in GitHub Desktop.
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