[Dnsmasq-discuss] [PATCH] Logging of dhcp_script output
pemensik at redhat.com
Fri Mar 24 17:38:17 GMT 2017
Some guys using dnsmasq in virtual machines and OpenStack use custom dhcp_script to manage leases of clients.
However they complain if there is anything wrong with them, then are just told broken pipe and no information.
We understand it should not produce any output under normal operation. But it would be really helpful if at least anything was visible in logs. Especially for errors happening under rare circumstances.
I have prepared patch to forward events from helper. It prevents SIGPIPE receiving if script does write anything. And logs it from dnsmasq.
It seems very handy to me.
It was not simple to forward it to main log. I would like opinions if it is useful or dangerous.
Do you consider it worth merging Simon?
Red Hat, http://www.redhat.com/
email: pemensik at redhat.com PGP: 65C6C973
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6035 bytes
Desc: not available
More information about the Dnsmasq-discuss