From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4g0HG31nFrz2ysm for ; Tue, 21 Apr 2026 09:32:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail01.haj.ipfire.org", Issuer "R12" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4g0HG31RTGz2xSM for ; Tue, 21 Apr 2026 09:32:59 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "people01.haj.ipfire.org", Issuer "E8" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4g0HG24Drmz1PK for ; Tue, 21 Apr 2026 09:32:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1776763978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=FYEwwxhSFT4uuC2sp0Mhs+0q4fE6Nmsw6EhPrR5xPMU=; b=KiyS1PRh0xQFDLUjgqoWGIGX4MlBXUvx2P/iCOQh3wqU71l3rxnBBaslsYbxyBLJt3Nvx4 p2yu74pqrsbw3+Bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1776763978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=FYEwwxhSFT4uuC2sp0Mhs+0q4fE6Nmsw6EhPrR5xPMU=; b=MhmJGhj5ZOBcUi2up1piXNRIYO8FY2GKwEI3n2F02l6TNM3TLaYA+9XtseJUmcRaBboKTb wEgHD1iUSTCm04XcEqEZFNZwYlj6Kv6Zi9y6uQeRDSwfu+tb9X2OromMic3BTNHB45zFFM 6PiH+7AUUrybbCmJrBsFMZI96SU/76Ftqsvi4JtUbU/6OZUrW6sRT3WgYxN+SG0hNIcSOr qKlJb9+h8TwZ43pWp1lHMMJtCpswKE6y0cqVzyWQh6GhLYRhXFqoIvH8+73mgWHrPLlpkX W+oPa2OtS7oIH+ZJglmQpPeVTailhsqpKOG25C2OiKBJ+UI81N+J001QlP3+bw== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4g0HG22HQRz2xTH; Tue, 21 Apr 2026 09:32:58 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 30ccb9ed80ee3ad70403794da4c937fd183b9bd8 X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: 818a2094757986540f3366c79f46e1409b2b4151 X-Git-Newrev: 30ccb9ed80ee3ad70403794da4c937fd183b9bd8 Message-Id: <4g0HG22HQRz2xTH@people01.haj.ipfire.org> Date: Tue, 21 Apr 2026 09:32:58 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree". The branch, next has been updated via 30ccb9ed80ee3ad70403794da4c937fd183b9bd8 (commit) from 818a2094757986540f3366c79f46e1409b2b4151 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 30ccb9ed80ee3ad70403794da4c937fd183b9bd8 Author: Michael Tremer Date: Tue Apr 21 09:32:11 2026 +0000 logrotate: Rotate Suricata logs daily This patch also cleans up what happens. Logrotate will automatically delete any old log files and does not require any extra commands. Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/etc/logrotate.conf | 8 +++----- config/rootfiles/core/202/filelists/files | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) Difference in files: diff --git a/config/etc/logrotate.conf b/config/etc/logrotate.conf index c5f9883c7..2f79de933 100644 --- a/config/etc/logrotate.conf +++ b/config/etc/logrotate.conf @@ -29,14 +29,12 @@ include /etc/logrotate.d } /var/log/suricata/*.log { - weekly + daily copytruncate - compress - ifempty + notifempty missingok + sharedscripts postrotate - /bin/find /var/log/suricata -path '/var/log/suricata/[0-9]*' -prune -exec /bin/rm -rf {} \; - /bin/find /var/log/suricata -name 'fast.log.*' -mtime +28 -exec /bin/rm -rf {} \; /bin/kill -HUP `cat /var/run/suricata.pid 2> /dev/null` 2> /dev/null || true endscript } diff --git a/config/rootfiles/core/202/filelists/files b/config/rootfiles/core/202/filelists/files index ebaef1717..50fe9d2c2 100644 --- a/config/rootfiles/core/202/filelists/files +++ b/config/rootfiles/core/202/filelists/files @@ -1,3 +1,4 @@ +etc/logrotate.conf etc/rc.d/init.d/firewall etc/rc.d/init.d/sysklogd etc/rc.d/init.d/unbound hooks/post-receive -- IPFire 2.x development tree