Bug 493622
| Summary: | ss segfaults when ipv6 is disabled | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Ralph Angenendt <ralph> |
| Component: | iproute | Assignee: | Marcela Mašláňová <mmaslano> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE <qe-baseos-auto> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.3 | CC: | misho |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-04-07 09:27:26 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: | |||
*** This bug has been marked as a duplicate of bug 493578 *** |
Description of problem: When using the ss binary from the iproute package on a machine with ipv6 disabled, ss segfaults. Version-Release number of selected component (if applicable): iproute-2.6.18-10.el5 How reproducible: Always Steps to Reproduce: [root@localhost ~]# ss State Recv-Q Send-Q Local Address:Port Peer Address:Port Segmentation fault [root@localhost ~]# strace ss execve("/usr/sbin/ss", ["ss"], [/* 17 vars */]) = 0 brk(0) = 0x856b000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 [...] close(4) = 0 open("/proc/net/tcp6", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ [root@localhost ~]# rm /etc/modprobe.d/disable-ipv6 && modprobe ipv6 [root@localhost ~]# ss State Recv-Q Send-Q Local Address:Port Peer Address:Port [root@localhost ~]# exit Actual results: ss segfaults Expected results: ss does not segfault