From 0018d1f3cf71d680d7b6bceda55a5717244d8b26 Mon Sep 17 00:00:00 2001
From: Michael Biebl
systemd-resolved: NetworkManager will
push the DNS configuration to systemd-resolved
unbound: NetworkManager will talk
- to unbound and dnssec-triggerd, using "Conditional Forwarding"
- with DNSSEC support. /etc/resolv.conf
- will be managed by dnssec-trigger daemon. This option is
- deprecated. Note that dnssec-trigger ships a NetworkManager dispatcher
- script so this DNS plugin is not necessary.
none: NetworkManager will not
modify resolv.conf. This implies
rc-manager unmanaged
Note that the plugins dnsmasq, systemd-resolved
- and unbound are caching local nameservers.
+
Note that the plugins dnsmasq and systemd-resolved
+ are caching local nameservers.
Hence, when NetworkManager writes /run/NetworkManager/resolv.conf
and /etc/resolv.conf (according to rc-manager
setting below), the name server there will be localhost only.
@@ -618,6 +612,19 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth
Just enable level=TRACE and domains=ALL
to collect everything.
+ The recommended way for enabling logging is with a file /etc/NetworkManager/conf.d/95-logging.conf
+ that contains
+
+[logging] +level=TRACE +domains=ALL ++
+ and restart the daemon with systemctl restart NetworkManager. Then + reproduce the problem. You can find the logs in syslog (for example journalctl). +
Any settings here are overridden by the --log-level
and --log-domains command-line options.
@@ -628,12 +635,18 @@ unmanaged-devices=mac:00:22:68:1c:59:b1;mac:00:1E:65:30:D1:C4;interface-name:eth
in NetworkManager.conf and restart the service to enable verbose logging
early on.
+ By setting nm.debug on the kernel command line (either from
+ /run/NetworkManager/proc-cmdline or /proc/cmdline),
+ debug logging is enabled. This overrides both the command-line options and the settings
+ from NetworkManager.conf.
+
NetworkManager's logging aims not to contain private sensitive data and you should be fine sharing the debug logs. Still, there will be IP addresses and your network setup, if you consider that private - then review the log before sharing. Do not mangle the logfile in - a way that distorts the meaning too much. + then review the log before sharing. However, try not to mangle the logfile + in a way that distorts the meaning too much.
NetworkManager uses syslog or systemd-journald, depending on configuration. @@ -804,6 +817,10 @@ ipv6.ip6-privacy=0
If unspecified, the ultimate default values depends on the DNS plugin. With systemd-resolved the default currently is "no" (0) and for all other plugins also "no" (0).
connection.mptcp-flags
If unspecified, the fallback is either 0 ("disabled") or 0x22 ("enabled-on-global-iface,subflow"), depending on /proc/sys/net/mptcp/enabled.
connection.dns-over-tls
If unspecified, the ultimate default values depends on the DNS plugin. With systemd-resolved the default currently is global setting and for all other plugins "no" (0).
ipv4.link-local
If left unspecified, fallback to "auto" which makes it dependent on "ipv4.method" setting.
ipv4.route-metric
ipv6.addr-gen-mode
If the per-profile setting is either "default" or "default-or-eui64", the + global default is used. If the default is unspecified, the fallback value is either "stable-privacy" + or "eui64", depending on whether the per-profile setting is "default" or "default-or-eui64, respectively.
ipv6.ra-timeout
If left unspecified, the default value depends on the sysctl solicitation settings.