From f4d73266b454f38f9bb3a28bf9abcf83c9206bf5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Thu, 12 Sep 2024 11:26:00 -0400 Subject: [PATCH] * Tue Aug 13 2024 Jean-Philippe Pialasse 11.0.0-8.sme - fix new log does not fill after log rotate [SME: 12691] --- .../etc/dnf/plugins/post-transaction-actions.d/radius.action | 2 +- root/etc/logrotate.d/radiusd-sme | 2 +- smeserver-radiusd.spec | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/root/etc/dnf/plugins/post-transaction-actions.d/radius.action b/root/etc/dnf/plugins/post-transaction-actions.d/radius.action index 948884c..279923c 100644 --- a/root/etc/dnf/plugins/post-transaction-actions.d/radius.action +++ b/root/etc/dnf/plugins/post-transaction-actions.d/radius.action @@ -1 +1 @@ -freeradius*:any:/sbin/e-smith/signal-event smeserver-radius-update +freeradius*:any:/sbin/e-smith/signal-event smeserver-radiusd-update diff --git a/root/etc/logrotate.d/radiusd-sme b/root/etc/logrotate.d/radiusd-sme index ac66561..077de67 100644 --- a/root/etc/logrotate.d/radiusd-sme +++ b/root/etc/logrotate.d/radiusd-sme @@ -7,7 +7,7 @@ delaycompress sharedscripts postrotate - /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true + /usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true endscript } diff --git a/smeserver-radiusd.spec b/smeserver-radiusd.spec index 232c5c8..3fa1b9a 100644 --- a/smeserver-radiusd.spec +++ b/smeserver-radiusd.spec @@ -4,7 +4,7 @@ Summary: smeserver server and gateway - configure PPTP inbound VPN %define name smeserver-radiusd Name: %{name} %define version 11.0.0 -%define release 7 +%define release 8 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -28,6 +28,9 @@ Provides: e-smith-radiusd smeserver server and gateway - configure radius server %changelog +* Tue Aug 13 2024 Jean-Philippe Pialasse 11.0.0-8.sme +- fix new log does not fill after log rotate [SME: 12691] + * Mon Apr 15 2024 Jean-Philippe Pialasse 11.0.0-7.sme - rewrite radiusd-configure [SME: 12624] - move forgotten templates [SME: 12623]