Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102068 - freeradius init script does not shutdown cleanly.
Summary: freeradius init script does not shutdown cleanly.
Status: RESOLVED DUPLICATE of bug 99908
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 19:23 UTC by John E. Vincent
Modified: 2005-09-01 10:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***