Date: Mon, 22 Apr 2002 15:54:40 -0700 From: Peter Wemm <peter@wemm.org> To: Gregory Neil Shapiro <gshapiro@FreeBSD.ORG> Cc: Wilko Bulte <wkb@freebie.xs4all.nl>, hackers@FreeBSD.ORG Subject: Re: sendmail complaining about filedescriptors? Message-ID: <20020422225440.A91A138CC@overcee.wemm.org> In-Reply-To: <15556.29897.695479.817308@horsey.gshapiro.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Gregory Neil Shapiro wrote: > wkb> Apr 22 09:29:50 freebie sendmail[253]: File descriptors missing on start up: stdout, stderr; Bad file descriptor > > sendmail always checks it's first three fd's at startup to avoid the > problem that has just come to light in the FreeBSD security announcement. > This is what is logged if sendmail has problems with them. It can be > ignored as sendmail attaches /dev/null to them. In this particular case it's a false alarm. There are fd's there, but they got revoke(2)'ed by the getty on the console. fstat(2) returns EBADF on the revoked fd's and is impossible to tell the difference between a revoke'd fd and a non-existing fd. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020422225440.A91A138CC>