Bug 1321136
| Summary: | nc is not backwards compatible, breaking existing software | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Quanah Gibson-Mount <quanah> |
| Component: | nmap | Assignee: | Michal Hlavinka <mhlavink> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | redhat-bugzilla, robert.scheck, srandhaw |
| 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: | 2016-10-25 13:09:46 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
Quanah Gibson-Mount
2016-03-24 18:32:29 UTC
Also note, it is impossible to use "s" with the version of nc in RHEL6: [quanah@ldap01 ~]$ which nc /usr/bin/nc [quanah@ldap01 ~]$ nc -w 120s ldap01.zimbra.com 389 nc: timeout cannot be negative [quanah@ldap01 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.6 (Santiago) which means now that there's no way to be compatible when using nc for software on both RHEL6 and RHEL7. Broken in 7.0 through 7.2 Cross-filed case 01626771 on the Red Hat customer portal. nmap's ncat is not a drop in replacement for nc and it does not want to be that, so it is expected not to be compatible with nc. If you really need backward compatibility, let me point you to bug #1383127 = request to bring back original nc. (note: that bug is not publicly visible, but you can ask in your support ticket to be added to cc-list if you want). I am sorry, I disagree with this. You, Red Hat, can not simply switch from a well known working software such as BSD's nc to the broken "nmap-netcat" being a somewhat incompatible replacement. This especially applies, when the original /usr/bin/nc is not made a symlink for alternatives usage, but a fixed symlink to ncat. A symlink to alternatives would at least allow EPEL package maintainers to ship the original BSD nc additionally without causing a file conflict. I am updating our ticket on the Red Hat customer portal accordingly: Either this issue gets fixed, or the nc symlink shall point to alternatives(1). Note: Original BSD nc is likely the best, but also the hardest option to get - given this switch could maybe break other stuff in RHEL, right? I'm not exactly the best person to answer what is or is not likely. My own opinion is that returning to orignial nc would be best option. nmap-ncat is not primary interest of nmap's upstream, BSD nc is still quite a standard or it was for a long time and I think it would still be better. If there is sufficient demand from customers for bug #1383127 (bring back original nc), it should be possible to get it approved by management and bring it back. There is no problem with using alternatives, if there is requested (bug rfe) for it, but it should probably by option b, not a. Given Red Hat is obviously not interested in shipping the OpenBSD nc (or netcat) utility in RHEL, bug #1939769 finally brings this package now back using the EPEL repository. |