Date: Sat, 19 Nov 2011 14:31:23 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/net/rinetd Makefile ports/net/rinetd/files patch-rinetd.c Message-ID: <201111191431.pAJEVNLx011741@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
garga 2011-11-19 14:31:23 UTC
FreeBSD ports repository
Modified files:
net/rinetd Makefile
net/rinetd/files patch-rinetd.c
Log:
rinetd fails to close the configuration file (fopen twice, fclose only once)
when reading its configuration. Therefore on every configuration reload
(through SIGHUP) one file descriptor is lost. In an environment where this is
done frequently (e.g. to re-lookup DNS names) the system will run out of file
descriptors soon (kern.maxfiles) until rinetd crashes.
PR: ports/162673
Submitted by: Michael Gmelin <freebsd@grem.de>
Feature safe: yes
Revision Changes Path
1.21 +1 -1 ports/net/rinetd/Makefile
1.2 +8 -0 ports/net/rinetd/files/patch-rinetd.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111191431.pAJEVNLx011741>
