Systemd/networkd: Difference between revisions
Interface renaming |
→Debugging: note runtime log level changing |
||
(One intermediate revision by one other user not shown) | |||
Line 78: | Line 78: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug"; | systemd.services."systemd-networkd".environment.SYSTEMD_LOG_LEVEL = "debug"; | ||
</syntaxhighlight>Log level can also be changed at runtime with<syntaxhighlight lang="bash"> | |||
$ systemctl service-log-level systemd-networkd.service debug | |||
# or | |||
$ systemctl service-log-level systemd-networkd.service info | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 89: | Line 93: | ||
** Does not modify properties (e.g., MTU, VLAN ID, VXLAN ID, Wireguard Peers) of existing netdevs | ** Does not modify properties (e.g., MTU, VLAN ID, VXLAN ID, Wireguard Peers) of existing netdevs | ||
*** https://github.com/systemd/systemd/issues/9627 | *** https://github.com/systemd/systemd/issues/9627 | ||
*** This should be fixed as of systemd v257 (https://github.com/systemd/systemd/pull/34909) | |||
=== network-online.target === | === network-online.target === |