Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246119 - sys-apps/baselayout-2.0.0 net net.example conversion document to openrc change
Summary: sys-apps/baselayout-2.0.0 net net.example conversion document to openrc change
Status: RESOLVED DUPLICATE of bug 213988
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-09 03:54 UTC by Chuck
Modified: 2008-12-22 23:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck 2008-11-09 03:54:53 UTC
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.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-12-22 23:00:41 UTC
Yep. Additional documentation is needed by the Gentoo Doc team.

*** This bug has been marked as a duplicate of bug 213988 ***