Project

General

Profile

Actions

Bug #4199

closed

2.1.5 to 2.2 system tunable default value issue

Added by Bipin Chandra over 9 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
High
Category:
-
Target version:
-
Start date:
01/11/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:

Description

i noticed when u have a config which u have been upgrading since long and now from 2.1.5 to 2.2, the system tunable entries stored in config file are stored with value as default if u havent changed anything and as soon as u upgrade it tries to apply those with value as default and that causes a bunch of errors in console and to overcome this u need to goto same section in web gui and delete those entries so the default entries get removed from the config file after which all is good.
There needs to be a way to upgrade the config file during upgrade and remove entries with values as default

sample config file before upgrade
<item>
<tunable>net.inet.tcp.blackhole</tunable>
<value>default</value>
<descr><![CDATA[Drop packets to closed TCP ports without returning a RST]]></descr>
</item>
<item>
<tunable>net.inet.udp.blackhole</tunable>
<value>default</value>
<descr><![CDATA[Do not send ICMP port unreachable messages for closed UDP ports]]></descr>
</item>
<item>
<tunable>net.inet.ip.random_id</tunable>
<value>default</value>
<descr><![CDATA[Randomize the ID field in IP packets (default is 0: sequential IP IDs)]]></descr>
</item>
<item>
<tunable>net.inet.tcp.drop_synfin</tunable>
<value>default</value>
<descr><![CDATA[Drop SYN-FIN packets (breaks RFC1379, but nobody uses it anyway)]]></descr>
</item>


Files

conf.xml (4.48 KB) conf.xml Bipin Chandra, 01/11/2015 11:21 PM
Actions

Also available in: Atom PDF