Bug 1826117

Summary: ping -I <local ip address> ff02::1%<nicname> fails with "ping: bind icmp socket: Permission denied"
Product: [Fedora] Fedora Reporter: Tim Coote <tim+redhat.com>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 31CC: dwalsh, grepl.miroslav, lvrabec, plautrba, vmojzis, zpytela
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-22 08:54:32 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 Tim Coote 2020-04-20 22:40:29 UTC
Description of problem:
Cannot ping from local IPv6 address to find others on the same IP subnet. Selinux is preventing the command. All is well on Fedora 30

Version-Release number of selected component (if applicable):
iputils-20190515-5.fc31.x86_64
selinux-policy-3.14.4-50.fc31.noarch

How reproducible:
Every time

Steps to Reproduce:
1. On an IPv6 network with other hosts in the same subnet
2. `ping -c 3 -I <ULA or GUA> ff02::1%<nic with ULA or GUA attached>`
3. response is: "ping: bind icmp socket: Permission denied"
4. `sudo setenforce 0`
5. `ping -c 3 -I fca0:wwww:xxxx:yyyy:zzzz::1 ff02::1%ztr2qxxx`
6. other hosts respond to broadcast ND

Actual results:
See Steps to Reproduce, 3

Expected results:
See Steps to Reproduce, 6

Additional info:
I think that the `sudo setenforce 0` narrows down the source of the issue

Comment 1 Zdenek Pytela 2020-04-22 08:54:32 UTC

*** This bug has been marked as a duplicate of bug 1803759 ***