Bug 669309

Summary: fuser from psmisc does not parse /proc/net/udp when -n udp is specified
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: psmiscAssignee: Jan Görig <jgorig>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.6CC: bnater, cdahlin, jgorig, mkearey, ovasik, plyons, pm-eus, rvokal, tao, wmealing
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: psmisc-22.2-7.el5_6.2 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: Environment:
Last Closed: 2011-01-20 08:50:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 479345    
Bug Blocks:    

Description RHEL Program Management 2011-01-13 09:51:34 UTC
This bug has been copied from bug #479345 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 4 Jan Görig 2011-01-13 10:33:16 UTC
    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
- Process aren't listed due to using TCP table instead of UDP.
Fix
- UDP listing now uses UDP table and TCP uses TCP table.
Result
- Processes that uses UDP are correctly listed

Comment 6 Jaromir Hradilek 2011-01-14 11:41:57 UTC
    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
-- Process aren't listed due to using TCP table instead of UDP.
-Fix
-- UDP listing now uses UDP table and TCP uses TCP table.
-Result
-- Processes that uses UDP are correctly listed

Comment 9 errata-xmlrpc 2011-01-20 08:50:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0168.html