When I shut down Tomcat I get the following:

* Caching service dependencies...                 [ ok ]
* Stopping Tomcat...                              [ !! ]

What does Caching service dependencies mean?

link|improve this question

40% accept rate
feedback

1 Answer

Are you using Gentoo? When you stop a service, Baselayout checks if there are other services depending on the service you are stopping. If it is the case, they are stopped before, in order of dependencies.

Whenever you restart a service in a distro based on Baselayout, it runs the /sbin/depscan.sh script, which stores dependencies in /var/lib/init.d/depcache. You will observe however that the message is not always printed. That's because while depscan.sh is run each time, it only creates a new cache if any file in /etc/rc.d/, /etc/conf.d/or the file /etc/rc.conf is changed.

For more details, refer to the script itself.

link|improve this answer
Yes, it's Gentoo. Is caching == stopping? – Arne Evertsson Dec 6 '10 at 9:06
No, just updating the /var/lib/init.d/depcache file. All services are left in their current started/stopped state. – Prof. Moriarty Dec 7 '10 at 11:19
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.