From /usr/share/doc/openrc-0.9.8.4/net.example.bz2: # Prefer ifconfig over iproute2 #modules="ifconfig" However this doesn't seem to work if the iproute2 package is installed on the system at all (as reflected in the "MODULES" section description; but based on the "prefer" comment I assumed loading the ifconfig module would force its usage). Therefore the comment should be updated to clarify that loading the ifconfig module only makes it available but to ensure that it is used iproute2 must be disabled as well. Perhaps: # Prefer ifconfig over iproute2 #modules="ifconfig !iproute2" Thanks, Tim
(In reply to comment #0) > From /usr/share/doc/openrc-0.9.8.4/net.example.bz2: > > # Prefer ifconfig over iproute2 > #modules="ifconfig" > > However this doesn't seem to work if the iproute2 package is installed on > the system at all (as reflected in the "MODULES" section description; but > based on the "prefer" comment I assumed loading the ifconfig module would > force its usage). > > Therefore the comment should be updated to clarify that loading the ifconfig > module only makes it available but to ensure that it is used iproute2 must > be disabled as well. > > Perhaps: > > # Prefer ifconfig over iproute2 > #modules="ifconfig !iproute2" Actually, it is more simple than that. If you don't want to use iproute2 at all, the modules line is just: #modules="!iproute2" The preference order is automatic based on which packages you have installed, so if iproute2 is installed it will be used unless you disable it.
This is fixed in commit 92b274a. Thanks for the report.