[CentOS] Ping as regular user not allowed (CentOS Stream 8)

Thu Jan 20 16:48:12 UTC 2022
Robert Nichols <rnicholsNOSPAM at comcast.net>

On 1/20/22 10:32 AM, Fabian Arrotin wrote:
> On 19/01/2022 15:32, Toralf Lund wrote:
>> Following some update or the other (I think) on my CentOS Stream 8 system, I'm no longer able to use ping as a regular user; I get
>>
>> $ ping www.centos.org
>> ping: socket: Operation not permitted
>>
>> Does anyone else see this? It it a bug, or were the system/default permissions deliberately changed? Can anyone suggest a fix/workaround? Actually, I can find several different ones via a simple web search, but they are generally related to other distributions, I'm not quite sure which would be the most appropriate for CentOS...
>>
>> Thanks.
>>
>> - Toralf
>>
> 
> "sudo dnf downgrade iputils" should do it for now
> 
> it works when you're back on iputils-20180629-7.el8.x86_64

And then add:
     excludepkgs=iputils-20180629-8.el8.x86_64
in the [baseos] section of /etc/yum/repos.d/CentOS-Stream-BaseOS.repo

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.