Page 1 of 1

brctl missing

Posted: 2019/10/04 23:44:42
by togabob
I just installed CentOS 8, and am unable to find brctl. Tried installing bridge-utils, but the package is not found by yum.

Any idea how to get brctl?

Thanks!

Re: brctl missing

Posted: 2019/10/06 10:35:32
by jlehtone
What do you want to do with the brctl?

You might be able to achieve the same result with tools that are available.

Re: brctl missing

Posted: 2019/10/11 10:15:13
by javajox
Same thing for me, I'm trying to play with Linux bridges in CentOS 8, but "bridge-utils" is not available. Of course I can use other tools like "ip", but I need exactly to use "brctl", it is deprecated, I think that's why it has been removed completely from CentOS 8. What will be the most correct way to bring back "bridge-utils" ?

Re: brctl missing

Posted: 2019/10/11 15:43:08
by TrevorH
It's deprecated and removed and the functionality is now present in either the ip bridge command or the bridge utility.

It's not coming back so you might as well accept that and work around it.

Re: brctl missing

Posted: 2019/10/12 11:17:31
by jlehtone
Q:
jlehtone wrote:
2019/10/06 10:35:32
What do you want to do with the brctl?
A:
javajox wrote:
2019/10/11 10:15:13
I need exactly to use "brctl"
Sorry, but as far as I can see, you:
* fail to answer the question
* are close to XY Problem. See http://xyproblem.info/

Re: brctl missing

Posted: 2019/10/13 21:32:53
by hunter86_bg
I used 'nmcli' to create a linux bridge in CentOS7. You can give it a try.

Re: brctl missing

Posted: 2019/10/14 09:00:34
by javajox
My question was "What would be the most correct way to bring back bridge-utils ?"

And what kind of replies I received ?

Anyway, the main point here is that RedHat/CentOS team is breaking backward compatibility. In the past if the system doesn't contain "bridge-utils", my scripts would install it, by issuing "yum -y install bridge-utils", now bridge-utils is completely removed, this is not good at all. Backward compatibility is king, so breaking it, is a nasty thing.

Re: brctl missing

Posted: 2019/10/14 09:09:44
by TrevorH
Backwards compatibility is often broken at major version release times. That's when you get to make changes to cater for e.g. CentOS 7 to 8 differences.

Re: brctl missing

Posted: 2019/10/16 16:04:10
by hunter86_bg
According to https://access.redhat.com/documentation ... ctionality , bridge-utils was deprecated in 7.7 .
It is completely natural to be removed on the major release.