Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102068

Summary: freeradius init script does not shutdown cleanly.
Product: Gentoo Linux Reporter: John E. Vincent <gentoo-bugs>
Component: Current packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John E. Vincent 2005-08-10 19:23:03 UTC
You are unable to cleanly stop freeradius using the init script because PID
files are listed improperly in init script.

the init script lists /var/run/radiusd/radwatch.pid and
/var/run/radiusd/radiusd.pid as the location of the pid files but this directory
isn't created by the ebuild or by the init script when started.

Reproducible: Always
Steps to Reproduce:
1. start radiusd
2. look in /var/run for pid files or directory
3. attempt to stop radiusd
4. fails to stop because pid files are missing


Actual Results:  
radiusd failed to stop

Expected Results:  
radiusd should stop cleanly

According to the man page for radwatch, we should not be using this script. It
is not needed to drop privileges. A better solution is to call radiusd directly
from the init script and rely on other methods for server death notification.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-09-01 10:57:41 UTC

*** This bug has been marked as a duplicate of 99908 ***