NetBSD-Bugs archive

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

Re: misc/49738 rc.subr leaks filedescriptors



The following reply was made to PR misc/49738; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Michael van Elst <mlelstv%serpens.de@localhost>
Cc: Christos Zoulas <christos%zoulas.com@localhost>, gnats-bugs%NetBSD.org@localhost,
        misc-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: misc/49738 rc.subr leaks filedescriptors
Date: Fri, 21 Oct 2016 21:07:45 +0700

     Date:        Fri, 21 Oct 2016 07:28:00 +0200
     From:        Michael van Elst <mlelstv%serpens.de@localhost>
     Message-ID:  <20161021052756.GA1762%serpens.de@localhost>
 
   | You could simply close the descriptors when calling the rc script.
 
 And also, the fd that is open to connect to the postprocessor for
 logging the output needs to remain open, even there, that one only
 wants to be closed when calling something that is outside the rc system.
 
 kre
 


Home | Main Index | Thread Index | Old Index