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

Re: rpm leaks an fd in install/erase scripts



Circa 2003-08-01 11:56:23 +0200 dixit Enrico Scholz:

: 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.

This has been discussed somewhat on the openssh-unix-dev@mindrot.org
mailing list, but was never really (to my knowledge) resolved:

  http://msgs.securepoint.com/cgi-bin/get/openssh-unix-dev-0206/315.html

Anyone know what would happen if sshd were to close a file descriptor
belonging to a dynamically linked library (e.g., libc)?

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

You mean like this one?

     -D      When this option is specified sshd will not detach and does not
             become a daemon.  This allows easy monitoring of sshd.

-- 
jim knoble  |  jmknoble@pobox.com  |  http://www.pobox.com/~jmknoble/
(GnuPG fingerprint: 31C4:8AAC:F24E:A70C:4000::BBF4:289F:EAA8:1381:1491)
"We have guided missiles and misguided men." --Martin Luther King, Jr.

Attachment: pgp00000.pgp
Description: PGP signature


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