freeradius 3.0.0 fails to start on ppc64 and s390 architectures
jdennis at redhat.com
Thu Nov 14 03:48:38 CET 2013
On the ppc64 and s390 architectures radiusd fails to start emitting
Error: /etc/raddb/mods-enabled/echo: Cannot read output pairs if
wait = no
Error: /etc/raddb/mods-enabled/echo: Instantiation failed for module
The problem is due to using the wrong type in the module config struct
passed to the config file parser. The type was declared as bool but
conffile.c treats PW_TYPE_BOOLEAN as an int. This causes an if test to
fail because the bool value is not true when it should be. This is in
rlm_exec.c. I found 1 other module which had bool's declared for
PW_TYPE_BOOLEAN config items, rlm_pap.c.
Attached is a git formatted patch which changes 3 bool declarations to
int and include a full explanation in the git commit message. The
attachment can be applied with git apply.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2145 bytes
Desc: not available
More information about the Freeradius-Devel