version: 1.3
interface has two dhclient processes when link is unpluged and then plug again
before interface is unpluged
root 3407 1 0 11:08 ? 00:00:00 /sbin/dhclient -4 -nw -cf /var/lib/dhcp/dhclient_eth6.conf -pf /var/lib/dhcp/dhclient_eth6.pid -lf /var/lib/dhcp/dhclient_eth6.leases eth6
after unpluging the interface and plug it again, get two dhclient processes:
root 3407 1 0 11:08 ? 00:00:00 /sbin/dhclient -4 -nw -cf /var/lib/dhcp/dhclient_eth6.conf -pf /var/lib/dhcp/dhclient_eth6.pid -lf /var/lib/dhcp/dhclient_eth6.leases eth6
root 3641 1 0 11:16 ? 00:00:00 /sbin/dhclient -q -nw -cf /var/lib/dhcp/dhclient_eth6.conf -pf /var/lib/dhcp/dhclient_eth6.pid -lf /var/lib/dhcp/dhclient_eth6.leases eth6
the reason is: use systemctl start dhclient, but when interface link is down/up, use /etc/netplug/linkdown.d/dhclient or /etc/netplug/linkup.d/dhclient script call /sbin/dhclient directly. The scripts should systemctl I think