From owner-freebsd-questions@FreeBSD.ORG Mon Sep 4 21:05:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 70C9A16A4E2 for ; Mon, 4 Sep 2006 21:05:23 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.187.76.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC2C743D45 for ; Mon, 4 Sep 2006 21:05:21 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from [IPv6:::1] (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.13.8/8.13.8) with ESMTP id k84L4t5L061747; Mon, 4 Sep 2006 22:04:55 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk from=m.seaman@infracaninophile.co.uk; sender-id=softfail; spf=softfail X-SenderID: Sendmail Sender-ID Filter v0.2.14 smtp.infracaninophile.co.uk k84L4t5L061747 Message-ID: <44FC94F0.1020306@infracaninophile.co.uk> Date: Mon, 04 Sep 2006 22:04:48 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 1.5.0.5 (X11/20060801) MIME-Version: 1.0 To: Ted Johnson References: <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com> In-Reply-To: <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig038AA0FD11C319CAA378537D" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (smtp.infracaninophile.co.uk [IPv6:::1]); Mon, 04 Sep 2006 22:05:16 +0100 (BST) X-Virus-Scanned: ClamAV 0.88.4/1799/Mon Sep 4 20:31:55 2006 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_POLICY_TESTING, NO_RELAYS autolearn=ham version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on happy-idiot-talk.infracaninophile.co.uk Cc: Robert Huff , freebsd-questions@freebsd.org Subject: Re: Where Are All These Files Located? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 21:05:23 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig038AA0FD11C319CAA378537D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Ted Johnson wrote: > Robert Huff wrote:=20 > Ted Johnson writes: >=20 >> "BSD and FreeBSD: You should go to the /etc directory and edit=20 >> the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the = >> 'rotate()' script function to change the log permissions on >> rotation." >=20 > "find -x / -name daily" should give you the answer. >=20 > Yeah, I tried that. It didn't work. Files must be referencing something= else, by different name. Any other ideas? They don't exist by default any more, but if you *create* /etc/{daily,weekly,monthly}.local, then they will get run as part of the appropriate periodic tasks. See: /etc/periodic/daily/999.local /etc/periodic/weekly/999.local=20 /etc/periodic/monthly/999.local grep _local /etc/defaults/periodic.conf However, why wouldn't you just setup /etc/newsyslog.conf to rotate your logfiles? Much simpler and cleaner. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig038AA0FD11C319CAA378537D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/JT38Mjk52CukIwRCJfKAJ9dtorE3epnrLgHdgb2ytO9TkGLTQCeNTI7 G6vhuw2P9JBBoNxcedUZCec= =O1Er -----END PGP SIGNATURE----- --------------enig038AA0FD11C319CAA378537D--