freeradius 3.0.0 fails to start on ppc64 and s390 architectures

Arran Cudbard-Bell a.cudbardb at
Thu Nov 14 14:41:28 CET 2013

On 14 Nov 2013, at 13:29, Arran Cudbard-Bell <a.cudbardb at> wrote:

> On 14 Nov 2013, at 02:48, John Dennis <jdennis at> wrote:
>> On the ppc64 and s390 architectures radiusd fails to start emitting
>> these errors:
>> Error: /etc/raddb/mods-enabled/echo[34]: Cannot read output pairs if
>> wait = no
>> Error: /etc/raddb/mods-enabled/echo[34]: Instantiation failed for module
>> "echo"
>> 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.
> Out of interest did the compiler emit warnings about the size mismatch?

Ah no, I guess it won't, because were using offset.

Arran Cudbard-Bell <a.cudbardb at>
FreeRADIUS Development Team

More information about the Freeradius-Devel mailing list