Bug 1186910

Summary: YaST2 does not recognize STARTMODE aliases
Product: [openSUSE] openSUSE Distribution Reporter: Dave mundt <xmundt>
Component: YaST2Assignee: YaST Team <yast-internal>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: igonzalezsosa, kanderssen
Version: Leap 15.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/Z83j4UoJ/
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Logs of YAST Netowrk edit package error

Description Dave mundt 2021-06-06 15:52:24 UTC
Created attachment 849955 [details]
Logs of YAST Netowrk edit package error

When trying to edit network settings,  I am getting an variable undefined error that aborts the load.   Attached are the current logs.
Comment 1 Imobach Gonzalez Sosa 2021-06-07 07:03:17 UTC
Hi,

It looks like there is a bug when parsing the configuration file. The STARTMODE is set to "boot", which is perfectly fine, but YaST considers it as an invalid value.

"boot" is an alias for "auto", so changing this value manually should fix the issue (check the ifcfg-* files under /etc/sysconfig/network/). If you are not sure about how to fix the problem, let me know.

However, although there is a workaround, it is a real bug that we should fix. I am adding it to the list of issues to fix.

Thanks for reporting!
Comment 3 Knut Alejandro Anderssen González 2021-06-18 07:36:13 UTC
(In reply to Dave mundt from comment #0)
> Created attachment 849955 [details]
> Logs of YAST Netowrk edit package error
> 
> When trying to edit network settings,  I am getting an variable undefined
> error that aborts the load.   Attached are the current logs.

Although 'boot' and 'on' are aliases for the 'auto' startmode we do not support them in network-ng (introduced in SLE-15-SP2) supporting only the 'onboot' alias.

This should be fixed in yast2-network-4.2.102 (https://github.com/yast/yast-network/pull/1235)

SR: https://build.suse.de/request/show/243378

Thnx for the bug report!
Comment 12 Swamp Workflow Management 2021-07-22 13:19:34 UTC
SUSE-RU-2021:2450-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1186910,1187270
CVE References: 
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    yast2-network-4.2.102-3.64.1
SUSE Linux Enterprise Installer 15-SP2 (src):    yast2-network-4.2.102-3.64.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 15 Swamp Workflow Management 2021-08-10 07:21:01 UTC
openSUSE-RU-2021:1117-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1186910,1187270
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    yast2-network-4.2.102-lp152.2.41.1
Comment 23 Swamp Workflow Management 2021-10-20 13:19:23 UTC
openSUSE-RU-2021:3480-1: An update that has 10 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1185016,1185524,1186910,1187270,1187512,1188344,1190645,1190739,1190915,1190933
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    augeas-1.10.1-3.3.1, yast2-network-4.3.77-3.16.1
Comment 24 Swamp Workflow Management 2021-10-20 13:21:55 UTC
SUSE-RU-2021:3480-1: An update that has 10 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1185016,1185524,1186910,1187270,1187512,1188344,1190645,1190739,1190915,1190933
CVE References: 
JIRA References: 
Sources used:
SUSE MicroOS 5.1 (src):    augeas-1.10.1-3.3.1
SUSE MicroOS 5.0 (src):    augeas-1.10.1-3.3.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    augeas-1.10.1-3.3.1, yast2-network-4.3.77-3.16.1
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    augeas-1.10.1-3.3.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 25 Swamp Workflow Management 2021-10-31 20:26:03 UTC
openSUSE-RU-2021:1414-1: An update that has 10 recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1185016,1185524,1186910,1187270,1187512,1188344,1190645,1190739,1190915,1190933
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    augeas-1.10.1-lp152.4.3.1