Re: troubles with /usr/local/etc/rc.d scripts in jail

From: Brooks Davis <brooks_at_one-eyed-alien.net>
Date: Thu, 22 Dec 2005 08:55:53 -0800
On Thu, Dec 22, 2005 at 01:43:40PM +0300, Denis Shaposhnikov wrote:
> Hi!
> 
> Scripts with PROVIDE header don't running on jail's startup. Because
> early_late_divider="mountcritlocal" in /etc/defaults/rc.conf and
> mountcritlocal has nojail. This is one probleam.

I might make the early late divider NETWORKING.

> The second problem is "# REQUIRE: NETWORKING SERVERS" in a lots of
> scripts because they are running before ldconfig in this
> case. apache2.sh and mysql-server.sh for example.

Said scripts are broken in most casees.  They should be "# REQUIRE:
DAEMON".  Very few things should start between SERVERS and DAEMON.
The system isn't really bootstrapped until DAEMON.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Received on Thu Dec 22 2005 - 15:55:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC