Bug 586742
| Summary: | RFE: "w" should have "-n" flag to suppress reverse name resolution of IP addresses | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | David Tonhofer <bughunt> | |
| Component: | procps | Assignee: | Jaromír Cápík <jcapik> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kyral <mkyral> | |
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 5.7 | CC: | albert, bnater, lmiksik, mkyral, ovasik | |
| Target Milestone: | rc | Keywords: | FutureFeature, Patch | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | procps-3.2.7-19 | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1123311 (view as bug list) | Environment: | ||
| Last Closed: | 2013-01-08 07:31:41 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1123311 | |||
|
Description
David Tonhofer
2010-04-28 09:49:07 UTC
Hello David. I'm just trying to discuss this feature with upstream and if the guys have no objections, I'll implement this feature. I'll let You know about important news related to this topic. Thanks for reporting. Regards, Jaromir. Hello David. Sorry for no response for long time. I sent a patch several months ago, but it wasn't accepted by other procps-ng members in it's very first form. Let me explain what the main issue is. In fact there's no reverse name resolution in the 'w' command. The information is taken directly from the proc filesystem and often contains additional info like screen numbers. My patch just used a different field of the structure (containing the IP address only). In some cases there was no IP address at all (= 0.0.0.0) whilst the domain name was present and guys didn't like the information loss in such cases. I proposed a change, that a missing IP (= 0.0.0.0) could be replaced with domain name and if the IP is present, then the screen numbers could be taken from the original field and concatenated with the IP address. Unfortunately I got no response. I'll try to resurrect this topic once again, but I can't promise it's gonna be accepted. Regards, Jaromir. Hi Jaromir. That sounds organically hairy. Thank you very much for the updates. Hopefully this goes through. Best regards, -- David Hello David. I just reimplemented the feature based on the latest procps-ng upstream sources and sent the patch to other procps-ng members for a review. We'll se if this goes through or not. I'll let you know once I have any feedback. Regards, Jaromir. Thank you. Hello David. The feature has been accepted and I'm going to backport the change into the legacy version. Regards, Jaromir. Great stuff. Thanks. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0062.html |