Project

General

Profile

Actions

Bug #11013

closed

FreeRADIUS does not start after a package reload or a router bootup/reboot

Added by Michael Klein about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
FreeRADIUS
Target version:
-
Start date:
10/28/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Affected Version:
All
Affected Plus Version:
Affected Architecture:

Description

The FreeRADIUS package is the only package that does not startup after the router reboots or a package reload is done for any reason. After trying several suggested solutions from the Netgate user forums, only the following solution actually resolved the issue:

[[https://forum.netgate.com/topic/78615/freeradius-2-doesn-t-start-after-upgrade-to-pfs-2-2/43]]

The solution involves editing radiusd.sh and changing the rc_stop() function from this:

rc_stop() {
         /usr/local/etc/rc.d/radiusd onestop
}

To the following block of code which checks if a service start is already in progress before trying to stop it:

rc_stop() {
        if [ ! -f "$LOCKFILE" -a -f "$PIDFILE" ]; then
            /usr/local/etc/rc.d/radiusd onestop
        fi
}

Can the developers please make this modification as is detailed above?

Actions

Also available in: Atom PDF