On Wed, Jul 10, 2019 at 03:44:55PM +0100, Ricardo Mestre wrote:
> Index: dhcpd.h
> ===================================================================
> RCS file: /cvs/src/sbin/dhclient/dhcpd.h,v
> retrieving revision 1.278
> diff -u -p -u -r1.278 dhcpd.h
> --- dhcpd.h 22 May 2019 12:56:31 -0000 1.278
> +++ dhcpd.h 10 Jul 2019 14:36:31 -0000
> @@ -153,6 +153,8 @@ struct interface_info {
>
> #define _PATH_DHCLIENT_CONF "/etc/dhclient.conf"
> #define _PATH_LEASE_DB "/var/db/dhclient.leases"
> +#define _PATH_RESOLV_CONF "/etc/resolv.conf"
/usr/include/resolv.h:#define _PATH_RESCONF "/etc/resolv.conf"
> +#define _PATH_RESOLV_CONF_TAIL "/etc/resolv.conf.tail"
That one is not defined elsewhere.
We've got eight occurences of _PATH_RESCONF in /usr/src/!(sys), whereas
"/etc/resolv.conf" used as literal string 33 times throughout base.
The existing defines are specific to dhclient(8) but those additions
are not, so how about not using macros here?
OK kn either way