Bug 669309 - fuser from psmisc does not parse /proc/net/udp when -n udp is specified
Summary: fuser from psmisc does not parse /proc/net/udp when -n udp is specified
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: psmisc
Version: 5.6
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Jan Görig
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 479345
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-13 09:51 UTC by RHEL Program Management
Modified: 2013-03-06 09:33 UTC (History)
10 users (show)

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.
Clone Of:
Environment:
Last Closed: 2011-01-20 08:50:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0168 0 normal SHIPPED_LIVE psmisc bug fix update 2011-01-20 08:50:10 UTC

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


Note You need to log in before you can comment on or make changes to this bug.