Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381387

Summary: net.eth0 and /etc/conf.d/rc are not migrated
Product: Gentoo Linux Reporter: Xuefer <xuefer>
Component: [OLD] baselayoutAssignee: OpenRC Team <openrc>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xuefer 2011-09-01 02:56:57 UTC
baselayout is upgraded to 2+ version. openrc is then merged. and i've done all dispatch-conf
when i check /etc/init.d/, net.eth0 is not there, it's gone
/etc/init.d/net.eth0 belongs to baselayout-1 and is unmerged on upgrade. i understand why it's not migrated, but it's unacceptable. the box would not go back online if i upgrade the box remotely

all other config is migrated but not /etc/conf.d/rc. it's still there, with all settings in upper case, and is not used by openrc. /etc/rc.conf is used by openrc instead. 
the key setting not migrated and fail me was rc_depend_strict="YES" (default), what i expected is rc_depend_strict="NO"
Comment 1 Daniel 2011-09-01 22:36:52 UTC
http://www.gentoo.org/doc/en/openrc-migration.xml

There everything should be documented.

I think /etc/conf.d/rc is supposed to be manually merged/migrated with the new config file.
Comment 2 Xuefer 2011-09-02 02:15:23 UTC
hrm.. you're right
but, although baselayout is merged before openrc, i guess the migrate still can be implemented:
on emerge or upgrade, openrc can check for /etc/runlevels/*/net.eth0 to guess if net.eth* was used, and make a simple symlink if necessary

# ls -1 /etc/runlevels/*/net.*
/etc/runlevels/boot/net.lo
/etc/runlevels/default/net.eth0
Comment 3 SpanKY gentoo-dev 2011-09-07 03:50:53 UTC
post the actual build logs.  net.eth0 is supposed to be migrated by design.
Comment 4 William Hubbs gentoo-dev 2012-02-21 01:53:53 UTC
I am closing this since there has been no response from the reporter in
months. Please re-open if this is still an issue.