Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 04:10:23 -0800 (PST)
From:      tmseck@netcologne.de (Thomas-Martin Seck)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/65073: squid's startup script doesn't use /usr/local/etc/rc.subr
Message-ID:  <200404031210.i33CANY9099880@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/65073; it has been noted by GNATS.

From: tmseck@netcologne.de (Thomas-Martin Seck)
To: bug-followup@freebsd.org
Cc:  
Subject: Re: ports/65073: squid's startup script doesn't use	/usr/local/etc/rc.subr
Date: 3 Apr 2004 12:01:48 -0000

 * Matus UHLAR - fantomas <uhlar@fantomas.sk>:
 
 (Line wrap recovered)
 
 > squid's startup script /usr/local/etc/rc.d/squid.sh checks
 > /etc/rc.subr for existence, but doesn't check for
 > /usr/local/etc/rc.subr (which is used in FreeBSD-4.9). 
 
 Sorry, this is not correct.
 /usr/local/etc/rc.subr is installed by the rc_subr port. The standard rc
 mechanism on FreeBSD 4 is still "rcOLD" and this is not going to change.
 
 > result is that the script ignores settings from rc.conf (e.g.
 > username)
 
 Yes, since it behaves like an "rcOLD" script on 4.x. This is by design.
 If you need rcNG functionality on 4.x, you need to either expand the
 check for rc.subr in squid.sh yourself or copy rc.subr to /etc. Note
 that squid.sh and other run scripts are only a best effort made by the
 maintainer, if they do not fit your specific needs you should always
 replace them with your own solution.



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