From 38c72bd550323d3725f7d488bb8ccbc04fba195e Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 12 Aug 2025 18:42:37 +0800 Subject: [PATCH] Fix radiusd service startup warning (cherry picked from commit 0c2124403d5e215b620b67b7f69bc800c2f6bf58) --- freeradius.spec | 5 ++++- radiusd.service | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index 5a94147..8399600 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -4,7 +4,7 @@ Name: freeradius Version: 3.2.3 -Release: 3 +Release: 4 Summary: Remote Authentication Dial-In User Service License: GPLv2+ and LGPLv2+ @@ -497,6 +497,9 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap %changelog +* Tue Aug 12 2025 yaoxin <1024769339@qq.com> - 3.2.3-4 +- Fix radiusd service startup warning + * Tue Jul 16 2024 wangkai <13474090681@163.com> - 3.2.3-3 - Fix CVE-2024-3596 diff --git a/radiusd.service b/radiusd.service index 67696ad..d2fe594 100644 --- a/radiusd.service +++ b/radiusd.service @@ -5,7 +5,7 @@ After=syslog.target network.target ipa.service dirsrv.target krb5kdc.service [Service] Type=forking PIDFile=/var/run/radiusd/radiusd.pid -ExecStartPre=-/bin/chown -R radiusd.radiusd /var/run/radiusd +ExecStartPre=-/bin/chown -R radiusd:radiusd /var/run/radiusd ExecStartPre=/usr/sbin/radiusd -C ExecStart=/usr/sbin/radiusd -d /etc/raddb ExecReload=/usr/sbin/radiusd -C -- Gitee