Re: dhcpcd dumplease reports "dhcpcd not running"
Roy Marples
Thu Nov 19 15:40:34 2020
Hi Matthew
On 18/11/2020 19:55, Matthew Clarkson wrote:
After looking at strace and digging around a bit, it looks like the ioctl is coming from the printf call in the script_dump function in script.c
Adding TCGETS to the ioctl options allowed appears to work, a patch is attached. I'm not sure if that is something that should always be in the filter or ifdef'd to limit to specific platforms, but it works for ours.
Well, that is a nice find, but equally unexpected.
What libc are you using?
Anyway, comitted here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=ddbfa730262d958f1fc7707b27c245b350834b4f
Let me know if it works reliably. There will be a new release coming shortly!
Roy
Archive administrator: postmaster@marples.name