Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381387 - net.eth0 and /etc/conf.d/rc are not migrated
Summary: net.eth0 and /etc/conf.d/rc are not migrated
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-01 02:56 UTC by Xuefer
Modified: 2012-02-21 01:53 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 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.