Radiusd-radrelayd config file naming
Nicolas Baradakis
nbk at sitadelle.com
Mon Oct 2 11:48:24 CEST 2006
Peter Nixon wrote:
> The attached 2 line patch makes radiusd load the config file matching the
> name that it is called with making the -n option unnecessary in many cases.
> This makes things simpler and makes "startproc" and family much simpler to
> use with radiusd.
>
> Example use:
>
> symlink radiusd to radrelay and then run radrelay and it will autoload
> radrelay.conf
>
> The -n command line option still overrides config file so everyone should be
> happy.
>
> If no-one has any complaints I plan to apply this to cvs head.
That's a problem when the binary isn't named "radiusd". In Debian for
example the binary is renamed "freeradius", so the FreeRADIUS package
doesn't conflict with "radiusd-cistron", "radiusd-livingston", etc.
With this patch either the "-n" option becomes mandatory, or you must
rename the config file. This is guaranteed to break every existing
Debian installation.
--
Nicolas Baradakis
More information about the Freeradius-Devel
mailing list