Date: Thu, 22 Dec 2005 08:55:53 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Denis Shaposhnikov <dsh@vlink.ru> Cc: freebsd-current@freebsd.org, Doug Barton <dougb@freebsd.org> Subject: Re: troubles with /usr/local/etc/rc.d scripts in jail Message-ID: <20051222165553.GB13683@odin.ac.hmc.edu> In-Reply-To: <87hd91fm3n.fsf@neva.vlink.ru> References: <87hd91fm3n.fsf@neva.vlink.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 22, 2005 at 01:43:40PM +0300, Denis Shaposhnikov wrote: > Hi! >=20 > Scripts with PROVIDE header don't running on jail's startup. Because > early_late_divider=3D"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 --=20 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 --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDqtqYXY6L6fI4GtQRAmO+AJ9dZTxS5dB+FTs5uAWUYvVESY2ufwCgzePl a3hbqlmI5hP9Cvb0rUd/ykU= =Adwy -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051222165553.GB13683>