ports/65073: squid's startup script doesn't use /usr/local/etc/rc.subr

Thomas-Martin Seck tmseck at netcologne.de
Sat Apr 3 12:10:23 UTC 2004


The following reply was made to PR ports/65073; it has been noted by GNATS.

From: tmseck at netcologne.de (Thomas-Martin Seck)
To: bug-followup at 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 at 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.



More information about the freebsd-ports-bugs mailing list