From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.67) (envelope-from <gentoo-user+bounces-67477-garchives=archives.gentoo.org@gentoo.org>) id 1IHajp-0000Nj-CQ for garchives@archives.gentoo.org; Sun, 05 Aug 2007 07:41:21 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l757e8JV032100; Sun, 5 Aug 2007 07:40:08 GMT Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l757a2jc027445 for <gentoo-user@lists.gentoo.org>; Sun, 5 Aug 2007 07:36:02 GMT Received: by fk-out-0910.google.com with SMTP id 19so2057238fkr for <gentoo-user@lists.gentoo.org>; Sun, 05 Aug 2007 00:36:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OMY2vFXOT5p6Bn58ZKGoNhtxOrDXJCRZY0RHDZJ3y3hdnQWU2snYCnGuPhyRYJP+RReCnSKklaKT72OcvSuZdJjdRlvT8VK14xNuteSclw1srwCNG1M+PJwI0+l16KNvIHTH19VMGUCmRlvQjudcaYiuzQB5MRwmRWRspITrkC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lfKDIQQOrMWPg9MKspTZhzlREm1nXBlOEP/tf1kCC2FCSyABpbGsj2RoHnVjmHYcWw1P4CFBVDKv0lDyznffEWMA5y3MpgPm/64hd4zN2Sw6vNTqgsP2Tzl8cLPvUYOVqwdg/WXhL6z+3FO3VAtWxE1hpsc1w+X3AA+CVVAJO5g= Received: by 10.78.140.17 with SMTP id n17mr1180790hud.1186299362127; Sun, 05 Aug 2007 00:36:02 -0700 (PDT) Received: by 10.78.140.18 with HTTP; Sun, 5 Aug 2007 00:36:02 -0700 (PDT) Message-ID: <a23345650708050036h26f9ed6h970052b85ec2058a@mail.gmail.com> Date: Sun, 5 Aug 2007 09:36:02 +0200 From: Jakob <jak.gentoo@googlemail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] logrotate desn't create new empty files In-Reply-To: <200708041110.05431.michaelkintzios@gmail.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <a23345650708030416v46902602u301d7503f43de05c@mail.gmail.com> <50ba04d20708030747w352c45a3t5997d1c8102b8eac@mail.gmail.com> <a23345650708040129k543ed254pf4f24d6884d6adc2@mail.gmail.com> <200708041110.05431.michaelkintzios@gmail.com> X-Archives-Salt: c4a79619-d009-4d43-8aab-21cc7f32b104 X-Archives-Hash: d4f46665b356b573b98f08b54ee97cd6 > Look for a dead.letter file in /root which may contain any errors of the > logrotate script. In my system there is /etc/logrotate.d/syslog-ng which > contains: > =================================== > # > $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate,v > 1.2 2004/07/18 02:25:02 dragonheart Exp $ > # > # Syslog-ng logrotate snippet for Gentoo Linux > # contributed by Michael Sterrett > # > > /var/log/messages { > sharedscripts > postrotate > /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true > endscript > } > =================================== > > It seems to rotate the messages log file fine and create compressed backups > within /var/log. If you have both scripts then there may be a conflict which > would probably be captured in dead.letter. > > HTH. > -- > Regards, > Mick > Thanks for that hint, but there was nothing about logrotate in dead.letter. logrotate itself works fine for me but I want the messages file erased after rotating and start with a new file and that doesn't work. any more ideas? Regards Jakob -- gentoo-user@gentoo.org mailing list