Bug 162000 - rarpd leaks socket descriptors
rarpd leaks socket descriptors
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rarpd (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Phil Knirsch
:
Depends On:
Blocks: 156321
  Show dependency treegraph
 
Reported: 2005-06-28 19:59 EDT by Neil Horman
Modified: 2015-03-04 20:14 EST (History)
3 users (show)

See Also:
Fixed In Version: RHBA-2005-705
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-13 06:58:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to close the overwritten socket descriptor in load_if() (481 bytes, patch)
2005-06-28 19:59 EDT, Neil Horman
no flags Details | Diff

  None (edit)
Description Neil Horman 2005-06-28 19:59:14 EDT
Description of problem:
rarpd can leak socket descriptors when load_if() is called

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. start rarpd
2. send SIGHUP to rarpd process
3.
  
Actual results:
if you check /proc/<pid>/fd, there will be an extra socket descriptor in the
list after each sighup

Expected results:
socket descriptors are not leaked.

Additional info:
This can also be reproduced by exercizing other code paths which pass through
load_if()
Comment 1 Neil Horman 2005-06-28 19:59:15 EDT
Created attachment 116095 [details]
patch to close the overwritten socket descriptor in load_if()
Comment 4 Accelerated Fix Request (Red Hat Internal App) 2005-07-08 16:54:49 EDT
From User-Agent: XML-RPC

HOTFIX Request has been rejected http://seg.rdu.redhat.com/scripts/hotfix/edit.pl?id=392
Comment 22 Red Hat Bugzilla 2005-09-28 16:41:08 EDT
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 the 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-2005-705.html

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