After emerging baselayout 1.8.11, env-update fails and outputs this error message: * Caching service dependencies... * Failed to create temporary cache! /var/lib/init.d/depcache: /var/lib/init.d/depcache: No such file or directory Also every single boot service (not just hdparm) gives errors like this on startup and shutdown: * WARNING: you are stopping a boot service. * Re-caching dependency info (mtimes differ)... * Could not get dependency info for "hdparm"! * Please run: * # /sbin/depscan.sh * to try and fix this. * Stopping hdparm... [ ok ] * Re-caching dependency info (mtimes differ)... * Could not get dependency info for "hdparm"! * Please run: * # /sbin/depscan.sh * to try and fix this. * Re-caching dependency info (mtimes differ)... * Could not get dependency info for "hdparm"! * Please run: * # /sbin/depscan.sh * to try and fix this. * Re-caching dependency info (mtimes differ)... * Could not get dependency info for "hdparm"! * Please run: * # /sbin/depscan.sh * to try and fix this. * Re-caching dependency info (mtimes differ)... * Could not get dependency info for "hdparm"! * Please run: * # /sbin/depscan.sh * to try and fix this. * Starting hdparm... * Running hdparm on disc0... [ ok ] I've tried re-emerging baselayout, but it changed nothing.
The only thing I can imagine here is that /var/lib/init.d is missing, could you check that? (though it's supposed to be created if it's missing, I think)
Nope, /var/lib/init.d exists: lucy init.d # pwd /var/lib/init.d lucy init.d # ls -al total 16 drwxr-xr-x 6 root root 232 Apr 17 11:01 . drwxr-xr-x 12 root root 288 Apr 14 00:09 .. -rw-r--r-- 1 root root 489 Apr 17 11:01 deptree -rw-r--r-- 1 root root 3520 Apr 16 13:15 envcache drwxr-xr-x 3 root root 72 Apr 16 17:16 options drwxr-xr-x 2 root root 48 Apr 16 17:40 snapshot -rw-r--r-- 1 root root 8 Apr 16 17:16 softlevel drwxr-xr-x 2 root root 616 Apr 16 17:16 softscripts drwxr-xr-x 2 root root 640 Apr 16 17:40 started I also have tried "mkdir /var/lib/init.d/depcache" before running env-update, but env-update deletes the directory then complains about it not being there. I just tried re-emerging portage, and that did not help either.
Well, I need this machine, so I am about to reinstall Gentoo. I will keep a full backup of the filesystem, in case it can help figure out what happened. I no longer need this problem resolved, however, since I am rebuilding the machine from scratch.
Jim, sorry we weren't able to resolve this. Since I haven't heard of it otherwise, I suspect the problem will be "fixed" by the re-install. Thanks for your patience.