Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34233 - bootsplash and local init scripts have circular dependencies
Summary: bootsplash and local init scripts have circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Troy Dack
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-23 19:58 UTC by David Cozatt
Modified: 2004-01-09 06:21 UTC (History)
1 user (show)

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 David Cozatt 2003-11-23 19:58:20 UTC
from /etc/init.d/bootsplash 
 
depend() { 
        # run after local so that the boot time splash image 
        # is visible for as long as possible 
        after local 
} 
 
from /etc/init.d/local 
 
depend() { 
        after * 
} 
 
 

Reproducible: Always
Steps to Reproduce:
1.rc-update add local default 
2.rc-update add bootsplash default 
3.env-update 
Actual Results:  
>>> Regenerating /etc/ld.so.cache... 
 * Caching service dependencies... 
 *  Services 'local' and 'bootsplash' have circular 
 *  dependency of type 'iafter';  continuing... 

Expected Results:  
resolved order so bootsplash could come last? 

Could: 
 
after * !local  
 
work perhaps?
Comment 1 David Cozatt 2003-11-23 20:00:24 UTC
(I hate when I do that)

after * !bootsplash


bus_drivr
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-11-26 11:48:06 UTC
Is Tad still around ?  There are one or two other bootsplash related bugs
that he do not seem to touch and except for baselayout side I am not really
responsible for it ... ?
Comment 3 David Cozatt 2003-12-04 23:34:29 UTC
Well what works for me is changing /etc/init.d/local to

depend() {
	after  !bootsplash
}


bus_drivr
Comment 4 Troy Dack 2004-01-09 06:21:43 UTC
bootsplash-0.6-r3 has been committed to CVS.

Hopefully this issue is fixed, the rc script now has:

depend() {
	need local
}

If this doesn't work I'll have to think of another work around.