Project

General

Profile

Actions

Bug #8264

open

Radiusd restart on WAN change results in freeradius not running (and possible solution)

Added by Silvio Massina almost 7 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
FreeRADIUS
Target version:
-
Start date:
01/08/2018
Due date:
% Done:

0%

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

Description

With a PPPoE WAN that sometimes goes down and up, we found each time the radius service stopped.

Our guess is that the service is restarted multiple times on WAN change.

I've changed the script in /usr/local/etc/rc.d/radiusd.sh and replicated, under rc_stop, the same check found in rc_start (if ( set -o noclobber; echo "$$" > "$LOCKFILE") 2> /dev/null; then...)

In this way the script will avoid stopping the service if a start is ongoing (the same check is done under rc_start in order to avoid a double start).

This change solved the problem for us.

Actions #1

Updated by Jim Thompson over 6 years ago

  • Assignee set to Renato Botelho
Actions #2

Updated by Jim Pingle over 5 years ago

  • Category set to FreeRADIUS
Actions #3

Updated by Renato Botelho over 5 years ago

  • Priority changed from High to Normal
Actions #4

Updated by Viktor Gurov about 4 years ago

see also #11013

Actions #5

Updated by Renato Botelho over 2 years ago

  • Assignee deleted (Renato Botelho)
Actions

Also available in: Atom PDF