I uses VLAN on bonding interfaces. With new openrc the vlan config switched. After reconfiguring everything to fit the new layout we figured out that there are some problems with RPDB rules. During start up the process read the rules config without any problem even if there are rule arrays which arn't supported anymore. On stop only the first rule gets deleted. As we have many VLANs on our bonding interface we have many rules. We tired to add the rules to each vlan_ config but then we have the problem that the init.d/net script just deletes the bonding interface and don't cares about the VLANs. Please see my conf.d/net I attached. Regards, Bernd Reproducible: Always Steps to Reproduce: 1. /etc/init.d/net.lwlbond01 start 2. /etc/init.d/net.lwlbond01 stop Actual Results: with every restart we get more and more rules Expected Results: the rules should be delete after successfully stop.
Created attachment 284577 [details] /etc/conf.d/net My /etc/conf.d/net I have right now. The vlan0005_rules entry is only for testing.
The RPDB rules removal has been fixed, bug 372547. Please try openrc-0.9.x. If this bug still occurs reopen this bug. *** This bug has been marked as a duplicate of bug 372547 ***
Today I installed sys-apps/openrc-9999 (0.9.3git-bf49e5). I adjust the configuration to get all warnings away. But still _my_ problem with VLAN interfaces on bond interfaces isn't fixed. On startup the bonding interface gets created also all VLANs. On stop the scripts only delete the bonding interface but don't executes any VLAN configs. So the VLANs just disappear 'cause of deleting of bonding interface but the rules still keeps on the system. If think VLANs on bond interfaces is a special case.
Are only VLAN rules affected or other things as well, like routes?
Ok Bernd, good news. :) This has been fixed by commit 4b63929. To apply the patch temporary please do: # wget 'http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=patch;h=4b6392987873107f83fa135b871ac137a6c29ba2' -O /tmp/vlan.patch # patch /lib/rc/net/vlan.sh < /tmp/vlan.patch Thank you for your bug report :)
I tested with version: 0.9.3git-4b6392 right works perfectly as expected. Can't see no more errors and every VLAN goes down before the bonding interface gets deleted. All rule are gon and nothing left over. Thanks.