summaryrefslogtreecommitdiffstats
path: root/src/resolve
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-25 17:59:22 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-04-25 18:08:15 +0200
commit1c7ed99027feeb16433ec2e1b558326ffb93923b (patch)
tree985c8c4f68020df6cb5cadf0a9beb79a33ada9f9 /src/resolve
parentshared/creds-util: return 0 for missing creds in read_credential_strings_many (diff)
downloadsystemd-1c7ed99027feeb16433ec2e1b558326ffb93923b.tar.xz
systemd-1c7ed99027feeb16433ec2e1b558326ffb93923b.zip
resolved: adjust message about credentials
"credential provided widget" would be better spelled as "credential-provided widget". But let's adjust the message to name the bad credential explicitly: this makes it easier to fix for the user.
Diffstat (limited to 'src/resolve')
-rw-r--r--src/resolve/resolved-conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-conf.c b/src/resolve/resolved-conf.c
index d8ee945502..3a67a4747e 100644
--- a/src/resolve/resolved-conf.c
+++ b/src/resolve/resolved-conf.c
@@ -484,7 +484,7 @@ static void read_credentials(Manager *m) {
if (dns) {
r = manager_parse_dns_server_string_and_warn(m, DNS_SERVER_SYSTEM, dns);
if (r < 0)
- log_warning_errno(r, "Failed to parse credential provided DNS server string '%s', ignoring.", dns);
+ log_warning_errno(r, "Failed to parse credential network.dns '%s', ignoring.", dns);
m->read_resolv_conf = false;
}
@@ -492,7 +492,7 @@ static void read_credentials(Manager *m) {
if (domains) {
r = manager_parse_search_domains_and_warn(m, domains);
if (r < 0)
- log_warning_errno(r, "Failed to parse credential provided search domain string '%s', ignoring.", domains);
+ log_warning_errno(r, "Failed to parse credential network.search_domains '%s', ignoring.", domains);
m->read_resolv_conf = false;
}