Hi, The current /usr/sbin/check-radiusd-config script reports errors if radiusd is running (even if there are no errors in the config file). I've taken a suggested patch from the freeradius-users mailing list so the script works regardless of whether or not radiusd is running. I've also made changes to the init script so it will check the config before reloading it. This is the first ebuild I've submitted so I apologise in advance for any errors I've made. I hope you find it useful. Greetz, Matt
Created attachment 132643 [details, diff] Updated version of the script that gets installed to /usr/sbin/check-radiusd-config as described in the bug
Created attachment 132645 [details] New ebuild for net-dialup/freeradius-1.1.7 that includes the patch mentioned in this bug
Created attachment 132646 [details, diff] diff showing the changes I made to the new ebuild (attached) from the existing one
Created attachment 132685 [details] Updated init script Sorry forgot to attach the updated init script last night
I agree with Dave Plonka's comments; this is a hack of a hack and therefore I decided not to apply this patch. If upstream decides to include this into the future version of freeradius, it will be preserved as such in the correspondent Gentoo package, but not before upstream release that version. FWIW, check-radiusd-config work for our purposes, namely check the configuration sanity before starting the daemon. Furthermore, if you run check-radiusd-config while radiusd daemon is runnig, user gets an informative message about this. Closed as WONTFIX.