Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 1998 00:45:10 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
Cc:        shmit@kublai.com, dima@best.net, des@flood.ping.uio.no, committers@FreeBSD.ORG
Subject:   Re: /etc/rc.local 
Message-ID:  <199812120845.AAA42707@apollo.backplane.com>
References:   <23818.913445705@zippy.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

:> rc.local.  What if I want to run MySQL, or Apache, or ftpd in stand
:> alone mode, or any of the millions of other things that people can
:> do in rc.local?
:
:The answer is that such things no longer belong in rc.local; we've
:already transitioned away from this (long ago) in favor of the rc.d/
:...
:
:- Jordan

    I still use rc.local.  In fact, BEST still uses rc.local (albeit as a 
    jumping board to something slightly more sophisticated).  I know several
    people who still use rc.local.

    The key issue is that things such as ports (sshd, for example), use the
    rc.d mechanism and *should* use the rc.d mechanism, but sysops use whatever
    is most convenient for the job.  For myself, rc.conf[.local] covers
    customization well enough that what little remains can be stuck into
    rc.local easily and thus all be in one place rather then intermixed 
    with the other things in rc.d.  For BEST, the machine configuration 
    mechanism needs to make distinctions between different classes of 
    machines - something not all that easy to manage with rc.d but trivial
    to manage by softlinking rc.local.

    And, I think, the original author has a point on the naming conventions...
    rc.local should be, well, local.  I'd definitely move the motd junk to
    /etc/rc, remove references to rc.local by install scripts, and move it
    out of the source tree and into the attic.

    Of course, us fixing rc.local will have no operational effect on anything
    I do, BEST does, my friends do, or virtually anyone other current user.
    Fixing rc.local would simply be cleanup for future newbie sysops.  Still,
    it *is* cleanup and that is always beneficial.

					-Matt

    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet 
                    Communications & God knows what else.
    <dillon@backplane.com> (Please include original email in any response)    

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812120845.AAA42707>