From owner-freebsd-questions@FreeBSD.ORG Sat Jan 17 02:53:15 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EB7316A4CE for ; Sat, 17 Jan 2004 02:53:15 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7337B43D45 for ; Sat, 17 Jan 2004 02:53:12 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0HAr7fn078046 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jan 2004 10:53:07 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0HAr71G078045; Sat, 17 Jan 2004 10:53:07 GMT (envelope-from matthew) Date: Sat, 17 Jan 2004 10:53:07 +0000 From: Matthew Seaman To: Adam McLaurin Message-ID: <20040117105307.GC67751@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Adam McLaurin , questions@freebsd.org References: <20040117000217.34282ec5.adam.mclaurin@gmx.net> <20040117000438.090155bf.adam.mclaurin@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UFHRwCdBEJvubb2X" Content-Disposition: inline In-Reply-To: <20040117000438.090155bf.adam.mclaurin@gmx.net> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk cc: questions@freebsd.org Subject: Re: squid-2.5.4_6 warning: port must be >1024 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2004 10:53:15 -0000 --UFHRwCdBEJvubb2X Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 17, 2004 at 12:04:38AM -0500, Adam McLaurin wrote: > Also, keep in mind you'll need to append your rc.conf with: > squid_enable=3D"YES" >=20 > It does seem strange that a port's behaviour would be controlled by the > rc.conf, but I suppose that's how the maintainer wanted it done. If this > is going to be how it is from now on, perhaps squid_enable should be > mentioned in /etc/defaults/rc.conf ? This is a feature of rcNG -- instead of installing a sample startup file, which you have to copy into place, you instead get the rcNG-ified startup file, which you can turn on and customise by setting variables in /etc/rc.conf I don't think it would be feasible to add the default settings for all of the ports that use rcNG to /etc/defaults/rc.conf -- if you want to keep your ports stuff cleanly separated from the base systems, then add: rc_conf_files=3D"/etc/rc.conf /etc/rc.conf.local /usr/local/etc/rc.port= s.conf" to your /etc/rc.conf, and put your ports related settings in there. The default rcNG startup script settings are documented in the scripts themselves. It might be an idea to make such ports register their default settings in /usr/local/etc/defaults/rc.ports.conf (for example) but I'm not entirely convinced that the benefit of doing so outweighs the effort required to set it up. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --UFHRwCdBEJvubb2X Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACRQTdtESqEQa7a0RAgr8AJ9DeZVKuQLNoVWrZE7M0BxDPXqW+gCeMkFt Q7jX/N9GxfRgDh6T7j9R34I= =6Yrd -----END PGP SIGNATURE----- --UFHRwCdBEJvubb2X--