lease file: Bad file descriptor, Broken pipe

David W. Hankins David_Hankins at isc.org
Thu Jan 15 19:17:02 UTC 2009


On Thu, Jan 15, 2009 at 10:24:56AM +0100, Rudy Gevaert wrote:
> * write is sending to file descriptor 0?  stdin?

No, we close std* when we fork, so new descriptors will take those
values.

>   write(0, "lease 157.193.2.158 {\n  starts 3"..., 328) = -1 EPIPE (Broken 

Rings a bell, we probably fixed something related (a double close
somewhere, the second close closes a zero value).

But I'm no good with ancient history (3.0.4 was from 2006).

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090115/8d355d3c/attachment-0001.bin>


More information about the dhcp-users mailing list