Page MenuHomeVyOS Platform

Some sysctl custom parameters disappear after reboot
Closed, ResolvedPublicBUG

Description

Some of sysctl parameters are not available in the configuration after reboot.

Initial configuration:

set interfaces tunnel tun0 address '100.64.0.1/30'
set interfaces tunnel tun0 encapsulation 'gre-bridge'
set interfaces tunnel tun0 local-ip '203.0.113.1'
set interfaces tunnel tun0 mtu '1500'
set interfaces tunnel tun0 multicast 'enable'
set interfaces tunnel tun0 parameters ip ttl '64'
set interfaces tunnel tun0 remote-ip '203.0.113.2'
set system sysctl custom net.ipv4.conf.tun0.accept_local value '1'

After reboot instance:

[email protected]# sysctl net.ipv4.conf.tun0.accept_local
net.ipv4.conf.tun0.accept_local = 0
[edit]
[email protected]#

Value 1 is missed:

[email protected]# show system sysctl 
 custom net.ipv4.conf.tun0.accept_local {
 }
[edit]
[email protected]# 

[email protected]# load /config/config.boot
Loading configuration from '/config/config.boot'
Load complete. Use 'commit' to make changes effective.
[edit]
[email protected]# compare 
[edit system sysctl custom net.ipv4.conf.tun0.accept_local]
+value 1
[edit]
[email protected]#

Details

Difficulty level
Unknown (require assessment)
Version
1.3.0-rc5
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Related Objects

Mentioned In
1.3.2
1.3.2

Event Timeline

Viacheslav changed the task status from Open to In progress.Jul 13 2022, 2:49 PM
Viacheslav claimed this task.
dmbaturin set Issue type to Unspecified (please specify).
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.Sep 5 2022, 11:08 AM
dmbaturin changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).