When using baselayout-2 and openrc, the postdown function interface_exists creates an error when shutting an interface down. This needs to be addressed in the net.example file and also in the net file conversion portion of the openrc document. The following code line should be added with comments similar to this: # use this line for baselayout-1 # if interface_exists "${IFACE}" ; then # use this line for baselayout-2 and openrc # if _exists "${IFACE}" ; then and make appropriate mention of this in the converting to openrc document. without this change every time an interface is shut down it will generate the following error: * Running postdown .../etc/init.d/../conf.d//net: line 49: interface_exists: command not found Reproducible: Always Steps to Reproduce: 1. install baselayout-2 and openrc 2. use iproute2 and use the net.example postup and postdown functions 3. shut any net interface down and the error will occur unless the modification is made. Expected Results: it should have shut down with no error from a function that does not exist in openrc/baselayout-2.
Yep. Additional documentation is needed by the Gentoo Doc team. *** This bug has been marked as a duplicate of bug 213988 ***