Project

General

Profile

action #65088

Updated by riafarov over 4 years ago

We want to test that config writings from YaST produces certain conflicts. 

 The implementation as now, contains a couple of yast modules that uses the 70-yast.conf. Some of them that we can use for automation during the installation is 
 - net.ipv4.ip_forward 
 - net.ipv4.tcp_syncookies 

 These settings are available in the yast2 network module. 

 Scope is limited to 64bit on SLES only for the start. 

 Potential Possible Scenario: 
 1. Check that module writes modify settings properly in /etc/sysctl.d/70-yast.conf and not in /etc/sysctl.conf (using yast2 lan module with settings mentioned above) 'manual' 
 2. Set conflicting Edit network settings in /etc/sysctl.conf, edit them in yast module verify that yast module reports it from step 1 on YaST  
 3. Verify conflict is happening 
 3. Set conflicting setting in custom file, e.g. /etc/sysctl.d/90-custom.conf , edit them in yast module verify that yast module reports it check /etc/sysctl.d/70-yast.conf for variables and values 

 See Also https://jira.suse.com/browse/SLE-9077 and https://jira.suse.com/browse/SLE-9088 

 Feature discussion: https://trello.com/c/uf4RFeC1/3671-sysctld-handling-display-current-settings-and-warn-about-conflicts 

 Also see https://progress.opensuse.org/issues/61073#note-13 

 


 ## Acceptance criteria 
 1. in case of conflict all the settings are discarded

Back