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
[-- Attachment #1 --]
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
> >
> > 1) with an error caused by removing one of those
> > "Do not remove this!" lines, and
> >
> > 2) for help on getting X working when they forgot
> > to add /dev/io and /dev/mem to their kernel.
>
> I believe *BSD can offer a better solution for such
> issues.
>
> For example, when having firewall_enable="YES",
> then /etc/rc.d/ipfw does:
>
> if ! ${SYSCTL} net.inet.ip.fw.enable; then
> if ! kldload ipfw; then
> warn unable to load firewall module.
> return 1
> fi
> fi
>
> So if ipfw is not supported by the kernel, this
> script will automagically load the ipfw module,
> or issue a warning what is missing.
>
> (Similarly, but not yet implemented, /etc/rc.d/sshd
> should automagically load the random module, if
> not in the kernel).
>
> 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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDaHChWry0BWjoQKURAhzBAKDlYAKvGH9q1csi9BEbkbz/nvhIIwCg2n7V
3+YsaiLBF+8yHbGHgiV1emw=
=sY0Q
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051102075409.GA75458>
