RFC: Alternate patch to have true new-style rc.d scripts in ports(without touching localpkg)

Brad Knowles brad at stop.mail-abuse.org
Tue Aug 17 07:02:55 PDT 2004

At 3:11 PM +0200 2004-08-17, sthaug at nethelp.no wrote:

>  - Why cannot /usr/local/etc/rc.d be used with rcorder if /etc/rc.d/local
>  is okay?

	You can't guarantee that /usr/local is on the same filesystem as 
/etc (and available early in the boot process), and while you can't 
guarantee that /etc/rc.d/local is also on the same filesytem, it's a 
lot easier for some people to guarantee.

	Moreover, many sites may mount /usr read-only, or /usr/local non-suid.

>  - If the argument is that /usr/local is not available: Okay, but in that
>  case you won't be able to start the ports anyway, since they are located
>  somewhere under /usr/local.

	Maybe.  Maybe not.  It all depends on your particular site 
configuration and whether or not you use the ports 100% unchanged, 
including location of configuration files, resources, etc....

Brad Knowles, <brad at stop.mail-abuse.org>

"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."

     -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
     Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See <http://www.sage.org/> for more info.

More information about the freebsd-current mailing list