Bug 18988 - sshd does not close file descriptors
sshd does not close file descriptors
Product: Red Hat Linux
Classification: Retired
Component: openssh (Show other bugs)
i386 Linux
high Severity high
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-10-12 14:29 EDT by Gerald Teschl
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-24 06:29:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gerald Teschl 2000-10-12 14:29:51 EDT
If I upgrade a package which restarts sshd in its post script, sshd will
the file descriptor pointing to this rpm. Unfortunately it does not close

In particular, if the rpm was on an nfs directory it is no longer possible
to unmount this directory unless you physically walk to the machine
(this is why I consider it "high" priority)

There are similar problems with lpd and maybe other services.
Comment 1 Gerald Teschl 2000-10-16 04:47:46 EDT
As Jeff (jbj@redhat.com) pointed out: If the rpm is on a CD, it is not possible
to unmount the CD!
Comment 2 Pekka Savola 2000-10-28 11:15:01 EDT
Hmm.. Isn't this an rpm issue?
Comment 3 Gerald Teschl 2001-01-24 06:29:18 EST
I also think that this is an rpm issue. rpm should close the file descriptor
before giving control
to sshd.
Comment 4 Nalin Dahyabhai 2001-04-02 20:13:25 EDT
This issue is spread among lots of guilty apps, which in an ideal world would
all be closing extra descriptors.  A workaround which catches most of these
cases is in initscripts-5.69.

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