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 ) id 1IGvEl-0006Ch-OV for garchives@archives.gentoo.org; Fri, 03 Aug 2007 11:22:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l73BLCt4022252; Fri, 3 Aug 2007 11:21:13 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l73BGp24017411 for ; Fri, 3 Aug 2007 11:16:51 GMT Received: by ug-out-1314.google.com with SMTP id a2so502829ugf for ; Fri, 03 Aug 2007 04:16:50 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=f15Wj2CcZhxpWnCKQjsTUjbMhVTyJhakCISJxVYD+d0cPclcUxW7CZkgAeHMvl6UMRrWgEQR3F+tU5VptKBKvkHFVAnQVwcUT+10Xqq8LyavNFeodZpkpTwahALMQrU2TAXw8ytiw1t6P5D4DPXj5ffwQrLErgkoCYOOSRWJzU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QmrRouv8UKftc0cKv9TzbmaKmqvdCkK+V1LCG3GkgcXVzX/oClKk5fk8QcEZPr7oNb5RIabSRHobtnzGmCuFl9zxzYctOladN/EMz1VqNEtmawBT01Ak2SEkrihonDxVTbRqWFTz4dT5ERMwkQgDdU6FylN+ZjKDabkePhaBP7o= Received: by 10.78.159.7 with SMTP id h7mr809888hue.1186139810586; Fri, 03 Aug 2007 04:16:50 -0700 (PDT) Received: by 10.78.140.18 with HTTP; Fri, 3 Aug 2007 04:16:50 -0700 (PDT) Message-ID: Date: Fri, 3 Aug 2007 13:16:50 +0200 From: Jakob To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] logrotate desn't create new empty files Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 X-Archives-Salt: 52640b95-f85a-4090-8c7b-d696dabc7a5c X-Archives-Hash: 5e16deb2bf7e45390071082eb8648475 Hi all, I'm running logrotate on my homeserver and the logs are rotated correctly but after rotating it should create new empty log files and that doesnt work. here are my confs: /etc/logrotate.conf: # $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/files/logrotate.conf,v 1.2 2004/07/18 01:58:24 dragonheart Exp $ # # Logrotate default configuration file for Gentoo Linux # # See "man logrotate" for details # rotate log files weekly weekly #daily # keep 4 weeks worth of backlogs rotate 10 # create new (empty) log files after rotating old ones create # uncomment this if you want your log files compressed compress # packages can drop log rotation information into this directory include /etc/logrotate.d notifempty nomail noolddir # no packages own lastlog or wtmp -- we'll rotate them here /var/log/wtmp { monthly create 0664 root utmp rotate 1 } # system-specific logs may be also be configured here. and /etc/logrotate.d/syslog-ng: # $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 { dateext olddir /var/log/ copy create 0600 root root size 5000k sharedscripts postrotate /etc/init.d/syslog-ng reload > /dev/null 2>&1 || true endscript } I thought create will do this but it doesn't work and my logs getting bigger and bigger. What did I do wron? Regards Jakob -- gentoo-user@gentoo.org mailing list