Bug 176084

Summary: ping6 says "can't receive hop limit: Protocol not available"
Product: [Fedora] Fedora Reporter: Pete Zaitcev <zaitcev>
Component: iputilsAssignee: Radek Vokál <rvokal>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-12-19 07:31:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pete Zaitcev 2005-12-19 06:53:22 UTC
Description of problem:

[zaitcev@lembas ~]$ ping6 towel.blinkenlights.nl
can't receive hop limit: Protocol not available
[zaitcev@lembas ~]$

Version-Release number of selected component (if applicable):

iputils-20020927-31
kernel-2.6.14-1.1740_FC5

How reproducible:

100%

Steps to Reproduce:
1. Have a system set up to use ipv6 normally
2. ping6 towel.blinkenlights.nl
3.
  
Actual results:

can't receive hop limit: Protocol not available

Expected results:

Normal ping

Additional info:

This does not seem to be related to a kernel. This used to work with
2.6.14, but not anymore.

The strace log:

socket(PF_INET6, SOCK_RAW, IPPROTO_ICMPV6) = 3
...
setsockopt(3, SOL_IPV6, IPV6_RECVERR, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [344], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
getsockopt(3, SOL_SOCKET, SO_RCVBUF, [131072], [4]) = 0
setsockopt(3, SOL_RAW, 0x7 /* RAW_??? */, [2], 4) = 0
setsockopt(3, SOL_ICMPV6, 1,
"\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 32) = 0
setsockopt(3, SOL_IPV6, 0x34 /* IPV6_??? */, [1], 4) = -1 ENOPROTOOPT (Protocol
not available)

Comment 1 Radek Vokál 2005-12-19 07:31:05 UTC
Please retest with latest rawhide iputils- -32. Should be already fixed.