Some time ago I upgraded openrc and dhcpcd, after this upgrade I face next 
problem:

/etc/conf.d/net has next content
config_bond0="dhcp"
config_eth0="null"
slaves_eth0="eth0"

For some reason dhcpcd runs on both bond0 and eth0 assigning the same address 
to both and of course I have double entries in routing table leading to 
unusable network.
The only way to keep dhcpcd running on eth0 is to add denyinterfaces=eth* to 
/etc/dhcpcd config.

dhcpcd does ethernet interfaces discovery and automatically run for any one of 
them that has carrier. Should config_eth0="null" preventdhcpcd from dealing 
with eth0?
Also additional observation: dhcpcd does not create /var/run/dhcpcd-bond0.pid. 
The only thing that is created is /var/run/dhcpcd.pid (without iface name).
I do not know if this is important or not
Versions:
openrc is 0.11.8
dhcpcd is 5.6.4

So the question Is if this is expectable behaviour or is this a bug in 
initialization system?

Best regards,
Alexander.

Reply via email to