How to customize dhcrelay v6 PID file location?
sangeeta.misra at oracle.com
sangeeta.misra at oracle.com
Sun Feb 20 17:46:36 UTC 2011
Unlike dhcpd, the CLI of dhcrelay does not allow user to specify PID
files.
Furthemore the configure script provides " --with-relay-pid-file"
option which only works for dhcrelay V4. Although dhcpd.h has these:
============
dhcpd.h:#ifndef _PATH_DHCRELAY_PID
dhcpd.h:#define _PATH_DHCRELAY_PID LOCALSTATEDIR"/run/dhcrelay.pid"
dhcpd.h:#ifndef _PATH_DHCRELAY6_PID
dhcpd.h:#define _PATH_DHCRELAY6_PID LOCALSTATEDIR"/run/dhcrelay6.pid"
==================
the user has no control over the location and name of the pid file ( ie
the "run/dhcrelay6.pid" cannot be modified.
Does anyone have a workaround or patch for this?
Sangeeta
More information about the dhcp-users
mailing list