Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546482 - net-dialup/freeradius -- init script not working
Summary: net-dialup/freeradius -- init script not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 18:24 UTC by Peter Sori
Modified: 2016-04-20 08:07 UTC (History)
4 users (show)

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 Peter Sori 2015-04-13 18:24:38 UTC
/etc/init.d/radiusd has problems with stop/status -- stop does not stop the proccess and status shows crash.

Reproducible: Always

Steps to Reproduce:
1.# /etc/init.d/radiusd start
2.# /etc/init.d/radiusd status
3.# /etc/init.d/radiusd stop
Actual Results:  
status:
 * status: crashed

stop:
 * Stopping radiusd ...
#ps -aux | grep 'radius'
root      2898  0.0  0.1 140544  6340 ?        Ssl  19:51   0:00 /usr/sbin/radiusd

start:
 * Starting radiusd ...
 * start-stop-daemon: failed to start `/usr/sbin/radiusd'
 * Failed to start radiusd
 * ERROR: radiusd failed to start


Expected Results:  
stopping proccess and cleaning pid and socket...

had to change /etc/conf.d/radiusd file:

#pidfile=/var/run/radiusd/radiusd.pid    # old config
pidfile=/var/lib/run/radiusd/radiusd.pid    # new config
Comment 1 Tomáš Mózes 2015-06-14 05:43:33 UTC
Yes I can confirm on freeradius 2.2.5.
Comment 2 Alois Schmid 2015-06-15 19:43:11 UTC
Confirmed for 2.2.5
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-04-20 08:07:06 UTC
commit 3a7259637a572d5818ad1c363fe4a85282823e12
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Wed Apr 20 10:03:56 2016

    net-dialup/freeradius: Security bump to versions 2.2.9 and 3.0.11
    
    See security bugs #553308 and #560994.
    Also fixing version bump request #551246, init script bug #551246 and
    missing dependency on sys-libs/talloc (#543302).
    
    Package-Manager: portage-2.2.28
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

This is fixed in =net-dialup/freeradius-2.2.9
Although not being stable yet I suggest you upgrade to that version as it fixes at least two security bugs and will be the next stable candidate.