Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159999 - depscan.sh fails with screwed up /etc/init.d, service init order corrupted
Summary: depscan.sh fails with screwed up /etc/init.d, service init order corrupted
Status: RESOLVED FIXED
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: 2007-01-04 09:32 UTC by Majin Sniper
Modified: 2007-01-04 19:05 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 Majin Sniper 2007-01-04 09:32:31 UTC
I somehow - don't ask me why or how it got there - had a symlink /etc/init.d/init.d pointing to /etc/init.d. This causes depscan.sh to fail and screw up the boot process (starting nfs before portmapper, keeping the system sleeping in a half initialized state for several minutes).
I took me about two month to find the problem. There were several posts in the Forum, which led me to a wrong direction.

The Error Message:
gawk: /lib/rcscripts/awk/cachedepends.awk:211: fatal: file `init.d' is a directory
bash: /var/lib/init.d/depcache: No such file or directory
Removing the link solved the problem, but a workaround in the cachedepends.awk would be nice :)

Greeting,
Majin Sniper
Comment 1 SpanKY gentoo-dev 2007-01-04 19:05:45 UTC
depscan.sh in svn makes sure that all links in /etc/init.d/ point to files