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

Re: Going nuts over debconf



Henrique de Moraes Holschuh wrote:

> And the proper fix is to call db_stop AND of course fix the daemon to close
> open fds it doesn't need.  Unfortunately, there are only kludgy ways to do
> so as the kernel won't tell you which FDs you have that are open.

That's not quite true.  On Linux you can walk /dev/fd/ or
/proc/self/fd/ to find out what FDs are open (and also what files they
point to).  It's still rather kludgey and non-portable.

Cameron.

Attachment: signature.asc
Description: Digital signature


Reply to: