troubles with /usr/local/etc/rc.d scripts in jail
brooks at one-eyed-alien.net
Thu Dec 22 08:55:56 PST 2005
On Thu, Dec 22, 2005 at 01:43:40PM +0300, Denis Shaposhnikov wrote:
> 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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051222/cee373cb/attachment.bin
More information about the freebsd-current