Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144902 - Dependencies of init script not respected
Summary: Dependencies of init script not respected
Status: RESOLVED DUPLICATE of bug 70009
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: 2006-08-23 12:52 UTC by Pupeno
Modified: 2006-08-23 13:55 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 Pupeno 2006-08-23 12:52:06 UTC
In relation to bug #144879 I have founded that dependencies of init scripts are not respected, at least at boot and for the case I am going to describe.

I made keymaps not depend on any other service:

pikar init.d # head keymaps
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

#depend() {
#       need localmount
#}

and then I made localmount and checkfs depend on keymaps:

pikar init.d # head localmount
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
        need checkfs keymaps
}

pikar init.d # head checkfs
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
        need checkroot modules keymaps
}

I have removed the three services by issuing rc-update del <service> boot for each of the services and added them back with the same command but add instead of del.
Yet, when I boot, keymaps is being loaded much latter that checkfs and localmount, exactly in the same place where it was loaded before.
Thanks.
Comment 1 SpanKY gentoo-dev 2006-08-23 13:55:39 UTC

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