Bug 1743522

Summary: RHEL 8: ifup br0 created bridge but ignores STP option.
Product: Red Hat Enterprise Linux 8 Reporter: Bell Levin <blevin>
Component: initscriptsAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: Daniel Rusek <drusek>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: dholler, initscripts-maint-list, jamacku, lnykryn, mtessun, pelauter, rskvaril, wchadwic
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: initscripts-10.00.4-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:27:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bell Levin 2019-08-20 07:38:27 UTC
Description of problem:
STP is not updated once bringing up a bridge with "STP=on". 

How reproducible:
Always.

Steps to Reproduce:
1. Create an ifcfg-br0 config for a bridge with STP=on (NM_CONTROLLED=no)
2. ifup br0
3. cat /sys/class/net/br0/bridge/stp_state 

Actual results:
0

Expected results:
1

Additional info:
example setup:

ifcfg-dummy:
DEVICE=dummy
BRIDGE=br0
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no

ifcfg-br0:
DEVICE=br0
TYPE=Bridge
DELAY=0
STP=on
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no

Introduced in this PR https://github.com/fedora-sysv/initscripts/pull/213

Comment 1 Jan Macku 2019-08-21 10:25:15 UTC
Thank you for your PR. Changes are already merged into master branch. 
I also created PR into rhel8-branch based on your commit.

https://github.com/fedora-sysv/initscripts/pull/284

This bug will be fixed in RHEL 8.2.0.

Comment 2 Dominik Holler 2019-08-21 11:30:48 UTC
(In reply to Jan Macku from comment #1)
> Thank you for your PR. Changes are already merged into master branch. 
> I also created PR into rhel8-branch based on your commit.
> 
> https://github.com/fedora-sysv/initscripts/pull/284
> 
> This bug will be fixed in RHEL 8.2.0.

Thank you very much, Jan!
RHV likes to have this fix in RHEL 8.1.
Does the bug require some flags or keywords to trigger this?

Comment 14 errata-xmlrpc 2019-11-05 22:27:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3612