Bug#721622: More changes needed for libfreeradius-client2

Jeremy Lainé jeremy.laine at m4x.org
Fri Dec 13 09:15:10 UTC 2013


It seems just linking against libfreeradius-client2 is not sufficient, we also need to
change the default RADIUS configuration path in the asterisk code. If
libfreeradius-client2 tries to load the old configuration file
(/etc/radiusclient-ng/radiusclient.conf) it bombs with a segfault:

#0  0x00007fffab126f38 in rc_conf_int () from
/usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
#1  0x00007fffab127108 in test_config () from
/usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
#2  0x00007fffab127605 in rc_read_config () from
/usr/lib/x86_64-linux-gnu/libfreeradius-client.so.2
#3  0x00007fff9fb011d1 in load_module () at cdr_radius.c:268
#4  0x00000000004cf590 in start_resource (mod=0xefa870) at loader.c:845
#5  0x00000000004d0300 in start_resource (mod=<optimized out>) at loader.c:1037
#6  load_resource_list (load_order=load_order at entry=0x7fffffffc480,
global_symbols=global_symbols at entry=0, mod_count=mod_count at entry=0x7fffffffc47c) at
loader.c:1047
#7  0x00000000004d0605 in load_modules (preload_only=preload_only at entry=0) at loader.c:1200
#8  0x0000000000426ded in main (argc=<optimized out>, argv=<optimized out>) at asterisk.c:4239

Jeremy



More information about the Pkg-voip-maintainers mailing list