Date: Wed, 2 Nov 2005 02:54:10 -0500 From: Kris Kennaway <kris@obsecurity.org> To: Rob <spamrefuse@yahoo.com> Cc: freebsd-stable@freebsd.org, Kris Kennaway <kris@obsecurity.org> Subject: Re: GENERIC and DEFAULTS Message-ID: <20051102075409.GA75458@xor.obsecurity.org> In-Reply-To: <20051102074329.50145.qmail@web36202.mail.mud.yahoo.com> References: <20051102074329.50145.qmail@web36202.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 01, 2005 at 11:43:29PM -0800, Rob wrote: > Kris Kennaway wrote: > > > > You've clearly never spent much time on the FreeBSD > > support forums, where every few days someone posts > > for help > >=20 > > 1) with an error caused by removing one of those > > "Do not remove this!" lines, and > >=20 > > 2) for help on getting X working when they forgot > > to add /dev/io and /dev/mem to their kernel. >=20 > I believe *BSD can offer a better solution for such > issues. >=20 > For example, when having firewall_enable=3D"YES", > then /etc/rc.d/ipfw does: >=20 > if ! ${SYSCTL} net.inet.ip.fw.enable; then > if ! kldload ipfw; then > warn unable to load firewall module. > return 1 > fi > fi >=20 > So if ipfw is not supported by the kernel, this > script will automagically load the ipfw module, > or issue a warning what is missing. >=20 > (Similarly, but not yet implemented, /etc/rc.d/sshd > should automagically load the random module, if > not in the kernel). >=20 > My point is then to follow this strategy also for X: > instead of a DEFAULTS file, have a /etc/rc.d/xdm > script, which starts X and loads the modules io/mem > if needed. You missed the part where I said that the error is commonly reported by people who have chosen not to build modules. Kris --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDaHChWry0BWjoQKURAhzBAKDlYAKvGH9q1csi9BEbkbz/nvhIIwCg2n7V 3+YsaiLBF+8yHbGHgiV1emw= =sY0Q -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051102075409.GA75458>