brctl missing

Issues related to configuring your network
Post Reply
togabob
Posts: 1
Joined: 2019/10/04 23:40:59

brctl missing

Post by togabob » 2019/10/04 23:44:42

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!

User avatar
jlehtone
Posts: 2387
Joined: 2007/12/11 08:17:33
Location: Finland

Re: brctl missing

Post by jlehtone » 2019/10/06 10:35:32

What do you want to do with the brctl?

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

javajox
Posts: 10
Joined: 2019/10/11 10:08:05
Location: Internet
Contact:

Re: brctl missing

Post by javajox » 2019/10/11 10:15:13

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" ?

User avatar
TrevorH
Forum Moderator
Posts: 26955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: brctl missing

Post by TrevorH » 2019/10/11 15:43:08

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

User avatar
jlehtone
Posts: 2387
Joined: 2007/12/11 08:17:33
Location: Finland

Re: brctl missing

Post by jlehtone » 2019/10/12 11:17:31

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/

hunter86_bg
Posts: 1927
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: brctl missing

Post by hunter86_bg » 2019/10/13 21:32:53

I used 'nmcli' to create a linux bridge in CentOS7. You can give it a try.

javajox
Posts: 10
Joined: 2019/10/11 10:08:05
Location: Internet
Contact:

Re: brctl missing

Post by javajox » 2019/10/14 09:00:34

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.

User avatar
TrevorH
Forum Moderator
Posts: 26955
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: brctl missing

Post by TrevorH » 2019/10/14 09:09:44

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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

hunter86_bg
Posts: 1927
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: brctl missing

Post by hunter86_bg » 2019/10/16 16:04:10

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.

Post Reply

Return to “CentOS 8 - Networking Support”