Please note that even when using synchronous writes, data may still not be successfully written to permanent storage. fsync() causes the filesystem to send modified buffers to storage but storage systems may also perform caching and buffering -- the point at which a write operation is fully committed depends on the particulars of the storage system used and may be beyond the direct control of dhcpd