sql.c

Gabriel Blanchard gabe at teksavvy.ca
Wed Jul 15 13:40:13 CEST 2009


On 15-Jul-09, at 4:03 AM, Alan DeKok wrote:

> Gabriel Blanchard wrote:
> > While coding the rlm_sql_sqlite module I found that even though it  
> fails
> > to "connect" to the database it doesn't stop Freeradius from  
> launching.
>
>   Yes.  The *other* databases need this.  i.e. if they aren't up when
> FreeRADIUS starts, it needs to start,and keep trying until they're  
> back up.
>
>   This removes startup dependencies between programs.
>
I know I'm being picky here but would it be OK if a different return  
code from sqlite would cause it to fail? I understand it makes sense  
to continue starting for other databases, but I don't think it does  
for something like sqlite.

-G




More information about the Freeradius-Devel mailing list