Page MenuHomeVyOS Platform

Some sysctl custom parameters disappear after reboot
Closed, ResolvedPublicBUG


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

Initial configuration:

set interfaces tunnel tun0 address ''
set interfaces tunnel tun0 encapsulation 'gre-bridge'
set interfaces tunnel tun0 local-ip ''
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 ''
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
[email protected]#

Value 1 is missed:

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

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


Difficulty level
Unknown (require assessment)
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

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).