Bug 479345
| Summary: | fuser from psmisc does not parse /proc/net/udp when -n udp is specified | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Michael Kearey <mkearey> | ||||
| Component: | psmisc | Assignee: | Jaromír Cápík <jcapik> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Branislav Náter <bnater> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 5.2 | CC: | bnater, cdahlin, ovasik, plyons, rvokal, tao, wmealing | ||||
| Target Milestone: | rc | Keywords: | ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | psmisc-22.2-9 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Previously, using the fuser command to list processes that use a UDP port failed to produce the expected results. This was caused by an incorrect use of the /proc/net/tcp socket table instead of /proc/net/udp. With this update, the underlying source code has been adjusted to parse the correct socket table, and fuser no longer fails to list processes for UDP ports.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 596055 (view as bug list) | Environment: | |||||
| Last Closed: | 2013-01-08 03:30:25 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: | 596055, 669309 | ||||||
| Attachments: |
|
||||||
|
Description
Michael Kearey
2009-01-09 00:14:02 UTC
Created attachment 328511 [details]
patch that corrects error in fuser.c
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. *** Bug 654416 has been marked as a duplicate of this bug. ***
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
- Show processes that uses UDP port
Consequence
- Processes aren't listed due to using TCP table instead of UDP.
Fix
- UDP listing now uses UDP table instead of TCP
Result
- Processes that uses UDP are correctly listed
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,8 +1 @@
-Cause
+Previously, using the fuser command to list processes that use a UDP port failed to produce the expected results. This was caused by an incorrect use of the /proc/net/tcp socket table instead of /proc/net/udp. With this update, the underlying source code has been adjusted to parse the correct socket table, and fuser no longer fails to list processes for UDP ports.-- Show processes that uses UDP port
-Consequence
-- Processes aren't listed due to using TCP table instead of UDP.
-Fix
-- UDP listing now uses UDP table instead of TCP
-Result
-- Processes that uses UDP are correctly listed
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-0118.html |