Red Hat Bugzilla – Full Text Bug Listing
|Summary:||sshd does not close file descriptors|
|Product:||[Retired] Red Hat Linux||Reporter:||Gerald Teschl <gt>|
|Component:||openssh||Assignee:||Nalin Dahyabhai <nalin>|
|Status:||CLOSED RAWHIDE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2001-01-24 06:29:22 EST||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description Gerald Teschl 2000-10-12 14:29:51 EDT
If I upgrade a package which restarts sshd in its post script, sshd will inherit the file descriptor pointing to this rpm. Unfortunately it does not close it. 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 (email@example.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.