Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48078 - baselayout 1.8.11 broke env-update and depscan.sh
Summary: baselayout 1.8.11 broke env-update and depscan.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 14:50 UTC by Jim Faulkner
Modified: 2004-04-22 07:17 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 Jim Faulkner 2004-04-16 14:50:17 UTC
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.
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-04-17 05:15:14 UTC
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)
Comment 2 Jim Faulkner 2004-04-17 08:11:24 UTC
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.
Comment 3 Jim Faulkner 2004-04-21 14:58:16 UTC
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.
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-04-22 07:17:44 UTC
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.