WARNING: $XXX is not set properly - see rc.conf(5).

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sun Dec 12 19:36:17 PST 2004


On Sun, Dec 12, 2004 at 08:12:42PM -0600, Robert Garrett wrote:
> Simon 'corecode' Schubert wrote:
> >On 26.10.2004, at 18:03, Michael Spellecacy wrote:
> >
> >>While booting up continued getting errors similar to:
> >>/usr/local/etc/rc.d/apache2.sh: WARNING: $XXX is not set properly - 
> >>see rc.conf(5).
> >>
> >>Fix suggest by corecode to change all occurances of "FreeBSD" to 
> >>"DragonFly" in /usr/local/etc/rc.subr seems to have cleared up the error.
> >
> >
> >In fact, we shouldn't replace then, and not all. I might have been too 
> >terse. Just add DragonFly to the OS decision thing. like
> >
> >sed -i -e 's/FreeBSD)/DragonFly|&/' /usr/local/etc/rc.d/rc.subr
> >
> >This should go into the tree.
> >
> >cheers
> >  simon
> >
> This is the proper answer.

/usr/local/etc/rc.d/rc.subr belongs to ports/sysutils/rc_subr, so
I submitted a patch to the maintainer(eik at freebsd.org).





More information about the Users mailing list