Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142289 - FreeRADIUS uses depreciated radwatch script to monitor radiusd daemon
Summary: FreeRADIUS uses depreciated radwatch script to monitor radiusd daemon
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 08:32 UTC by voha
Modified: 2006-09-09 01:44 UTC (History)
1 user (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 voha 2006-07-31 08:32:22 UTC
The latest ebuild of FreeRadius (1.1.1-r1) uses a depriciated radwatch script to start, stop and monitor FreeRADIUS daemon. It was phased out a while back in favor of using daemontools.

The instructions on how to replace radwatch with daemontools are located at the following path:
/usr/share/doc/freeradius/supervise-radiusd.txt
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-08-15 11:31:31 UTC
After some struggle (as always when it comes to freeradius), I've managed to bump version. However, the new version refuses to work with my old configuration files, the reason being Auth-Type := Sql.
If anyone has a clue about that, please enlighten me!
Comment 2 voha 2006-08-18 13:08:47 UTC
(In reply to comment #1)
You have to provide more datails about the error.
Which ver you had, which ver you have now, what Auth types you have, how you did an upgrade, the complete error text... the whole 9 yards (8.2 meters)
Also, this does not seems to be related to this particular bug (outdated radwatch), maybe it is a better idea to post in the Network & Security Forum by following this link http://forums.gentoo.org/viewforum-f-18.html in roder not to confuse the developers.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-08-18 22:15:07 UTC
Sorry about that. I meant to comment on bump request, not on this bug.

Now about radwatch script... I can't decide whether to mark this bug as invalid (see bug 99908) or give up and use radiusd directly.
Comment 4 voha 2006-08-19 06:07:25 UTC
(In reply to comment #3)
Oh, I see, sorry about missunderstanding.
I really don't know. All of the bugs (this one, 99908 and 102068) deal with a similar issues and [POSSIBLY OFF TOPIC]the bug 102068 has very similar feel to my restart issue where the radwatch does not restart the service after a crash, I just hangs. See this link http://forums.gentoo.org/viewtopic-t-488319-highlight-freeradius.html

Is it possible to use the currently recommended method of using daemontools?
BTW - the radwatch script seems fairly straight forward and I do not see a huge reason to replace it, except for the issue outlined in the [POSSIBLY OFF TOPIC] link above. Even then I do not know if daemon tools will handle this situation. I decided to use radiusd directly, so far so good.

Comment 5 Alin Năstac (RETIRED) gentoo-dev 2006-09-09 01:44:15 UTC
Fixed in 1.1.3.
I discovered that Auth-Type := Local should replace Auth-Type := Sql.