15 Jul
2009
15 Jul
'09
7:40 a.m.
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