Re: FreeBSD VNET jails and dhcpcd
Roy Marples
Tue Jun 30 11:41:05 2020
Hi
On 30/06/2020 11:18, Goran Mekić wrote:
My use case is FreeBSD host and VNET jails. All of them run instance of dhcpcd,
and when dhcpcd -n is used on host, all instances are restarted. If I'm correct,
jail ID 0 is reserved for host, so can we make it a special case so it doesn't
reload jailed instances?
dhcpcd -n will normally send SIGHUP to the process specified in /var/run/dhcpcd/pid
Just to be clear, SIGHUP does not mean restart, it means reload config and
rebind - so any current DHCP/RA/DHCPv6 is kept, it's just refreshed outside the
normal timers.
If I understand jails correctly, each jailed instance has it's own /var/run?
If so, I don't understand what issue you're seeing unless the jailed interface
also exists in the host? If so, what's the output of ifconfig so we can try to
exclude them?
Roy
Archive administrator: postmaster@marples.name