From f68768f6bd025ab20310b6f6f04d2f0f526d539f Mon Sep 17 00:00:00 2001 From: starlet-dx <15929766099@163.com> Date: Tue, 12 Aug 2025 18:48:37 +0800 Subject: [PATCH] Fix radiusd service startup warning --- freeradius.spec | 5 ++++- radiusd.service | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/freeradius.spec b/freeradius.spec index 7d8865f..937ab89 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -4,7 +4,7 @@ Name: freeradius Version: 3.0.25 -Release: 3 +Release: 4 Summary: Remote Authentication Dial-In User Service License: GPLv2+ and LGPLv2+ @@ -494,6 +494,9 @@ exit 0 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/ldap %changelog +* Tue Aug 12 2025 yaoxin <1024769339@qq.com> - 3.0.25-4 +- Fix radiusd service startup warning + * Tue Jul 16 2024 wangkai <13474090681@163.com> - 3.0.25-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