[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm leaks an fd in install/erase scripts



fcusack@fcusack.com (Frank Cusack) writes:

> You are correct, sshd (and all processes claiming to be daemons) should
> run through open fd's and close them.

True for fd 0-2, but should not be done generally. E.g. djb's fghack
from his daemontools will not work when sshd closes all descriptors.

(ok; the right way would be to convince sshd people to add a
'--operate-normally-but-do-not-go-into-background' option).



Enrico




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []