Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2004 07:32:50 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        ports@freebsd.org
Subject:   Re: USE_RC_SUBR
Message-ID:  <xzpsmhuc7ot.fsf@dwp.des.no>
In-Reply-To: <1075666428.89887.6.camel@shumai.marcuscom.com> (Joe Marcus Clarke's message of "Sun, 01 Feb 2004 15:13:48 -0500")
References:  <xzpsmhuef9m.fsf@dwp.des.no> <1075666428.89887.6.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke <marcus@marcuscom.com> writes:
> There was a problem with testing for /etc/rc.subr existence with package
> builds on bento.  However, this is being addressed in the current 4-exp
> build.

Thanks.

Another issue with rc.subr is POLA.  Previously, anything listed in
/usr/local/etc/rc.d would start at boot time (or when you ran the
script manually).  Now, though, ports using rc.subr don't start unless
you explicitly enable them in /etc/rc.conf.  The startup script will
simply do nothing, with no warning to the user.  I got bitten by this
last night when I updated SpamAssassin on my mail server, and found
out only this morning that it had switched to using rc.subr.

I'm not going to start an argument about the desirability of this; the
point is that people need to be made aware of it.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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