Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130389 - /etc/init.d/net scripts fail if they *all* aren't on the same runlevel.
Summary: /etc/init.d/net scripts fail if they *all* aren't on the same runlevel.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-18 11:11 UTC by Javier Villavicencio (RETIRED)
Modified: 2006-05-01 12:08 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 Javier Villavicencio (RETIRED) gentoo-dev 2006-04-18 11:11:13 UTC
Have net.lo0 in boot runlevel and 2 more scripts in the default runlevel. net.lo0 starts, but when entering in default runlevel all the "need net" dependant scripts fails complaining about one of the 2 scripts in the default runlevel.

Can be fixed by moving all net scripts to boot runlevel, or by moving net.lo0 from boot to default runlevel. So far moving net.lo0 to default didn't break anything here yet.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-19 16:54:06 UTC
Hmm here it doesn't happen.
But I have to say that the init.d from the stage are completely broken, I wouldn't be surprised if they had this problem. Delete the scripts, and make sure that net.lo0 comes out of the latest freebsd-baselayout and the others are links to that.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-04-20 15:17:59 UTC
This should be solved in baselayout-1.12.0_pre17-r3, it's definitely solved in our svn repo (1.12 branch and trunk) so once bsd baselayout syncs up to current svn rev 2000 then this issue should be solved.

Basically you just need an updated trace_dependencies() function from rc-services.sh
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-01 12:08:16 UTC
Thanks Roy, I've updated trace_dependencies for now, Javier will help porting to a newer version ;)