From 42a033f784611dad26b9b7af6aa4ff4378b5723d Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Wed, 17 Feb 2021 19:46:19 +0100 Subject: sysctl: downgrade warning about excluded keys Our own config generates logs like this: systemd-sysctl[1280]: Not setting net/ipv4/conf/all/rp_filter (explicit setting exists). systemd-sysctl[1280]: Not setting net/ipv4/conf/default/rp_filter (explicit setting exists). systemd-sysctl[1280]: Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists). systemd-sysctl[1280]: Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists). systemd-sysctl[1280]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists). systemd-sysctl[1280]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists). There is no error and nothing really to see. --- src/sysctl/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c index 1b433f7045..15b68b7d2e 100644 --- a/src/sysctl/sysctl.c +++ b/src/sysctl/sysctl.c @@ -161,7 +161,7 @@ static int apply_all(OrderedHashmap *sysctl_options) { continue; if (ordered_hashmap_contains(sysctl_options, key)) { - log_info("Not setting %s (explicit setting exists).", key); + log_debug("Not setting %s (explicit setting exists).", key); continue; } -- cgit v1.2.3