You are not logged in.

#1 2020-08-10 21:14:00

Flapper
Member
Registered: 2019-02-10
Posts: 30

[SOLVED] 'Not setting net/ipv4/conf' on systemd upgrade

When I update systemd, I get these 'Not setting net/ipv4...' messages below.
I searched the forums for this and I found a post where these messages were caused by an .include directive /etc/systemd/system/netctlxxxx.service

( 1/18) Creating system user accounts...
( 2/18) Updating journal message catalog...
( 3/18) Reloading system manager configuration...
( 4/18) Updating udev hardware database...
( 5/18) Applying kernel sysctl settings...
Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists).
Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
( 6/18) Creating temporary files...
( 7/18) Reloading device manager configuration...
( 8/18) Arming ConditionNeedsUpdate...
( 9/18) Updating linux initcpios...

However I don't have netctl installed, so how do I find which service is causing the problem? The system boots, and there is nothing apparently wrong,
no failed systemd units?

Last edited by Flapper (2020-08-10 22:55:40)

Offline

#2 2020-08-10 22:25:49

loqs
Member
Registered: 2014-03-06
Posts: 18,130

Re: [SOLVED] 'Not setting net/ipv4/conf' on systemd upgrade

/usr/lib/sysctl.d/50-default.conf

....
-net.ipv4.conf.all.rp_filter
....
man 5 sysctl.d wrote:

                 In addition, a key may be explicitly excluded from being set
       by any matching glob patterns by specifying the key name prefixed with
       a "-" character and not followed by "=", see SYNOPSIS.
....
                                                  Moreover, if a variable assignment is
       prefixed with a single "-" character, any failure to set the variable
       will be logged at debug level, but will not cause the service to fail.

Offline

#3 2020-08-10 22:38:28

Flapper
Member
Registered: 2019-02-10
Posts: 30

Re: [SOLVED] 'Not setting net/ipv4/conf' on systemd upgrade

So I will get these messages every time I update systemd. But its not a problem?

Offline

#4 2020-08-10 22:44:06

loqs
Member
Registered: 2014-03-06
Posts: 18,130

Re: [SOLVED] 'Not setting net/ipv4/conf' on systemd upgrade

Correct.

Offline

#5 2020-10-04 07:38:25

x-yuri
Member
Registered: 2013-01-06
Posts: 161

Re: [SOLVED] 'Not setting net/ipv4/conf' on systemd upgrade

Offline

Board footer

Powered by FluxBB