From owner-freebsd-questions@FreeBSD.ORG Mon Mar 30 06:48:39 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B1211065678 for ; Mon, 30 Mar 2009 06:48:39 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp6.server.rpi.edu (smtp6.server.rpi.edu [128.113.2.226]) by mx1.freebsd.org (Postfix) with ESMTP id BC76D8FC08 for ; Mon, 30 Mar 2009 06:48:38 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp6.server.rpi.edu (8.13.1/8.13.1) with ESMTP id n2U6mZOP025399; Mon, 30 Mar 2009 02:48:36 -0400 Mime-Version: 1.0 Message-Id: In-Reply-To: <49D061C6.6060104@telia.com> References: <49CFDEA2.2080606@telia.com> <49D061C6.6060104@telia.com> Date: Mon, 30 Mar 2009 02:48:34 -0400 To: raggen@raggens.net From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.10 () [Hold at 20.00] COMBINED_FROM X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.226 Cc: User Questions Subject: Re: Newsyslog mode on /var/log/security? 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, 30 Mar 2009 06:48:39 -0000 At 8:08 AM +0200 3/30/09, Roger Olofsson wrote: >Garance A Drosehn skrev: >>At 10:48 PM +0200 3/29/09, Roger Olofsson wrote: >>> >>>I seem to have forgotten something about /var/log/security and >>>newsyslog.conf. I get wrong mode after the trim. >>> >>>Excerpt from /etc/newsyslog.conf: >>>/var/log/security 644 7 5000 * JC >> >> >>Are you sure that's the only line you have for /var/log/security in >>your /etc/newsyslog.conf file? The distributed config file has: >> >>/var/log/security 600 10 100 * JC >> >>Obviously you have a different entry from that, but did you remove >>the original entry? > >Hi Garance, > >You are correct! I missed the original line. Silly me :^D Well, I should probably change newsyslog to "do something different" (he says vaguely) when the same file is specified multiple times. >Thank you very much! You're welcome. -- Garance Alistair Drosehn = drosehn@rpi.edu Senior Systems Programmer or gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA