Hack way to compile freeradius causing freeradius to hang under multithread mode

Ming-Ching Tiew mctiew at yahoo.com
Sun Jun 14 16:22:47 CEST 2009




--- On Sun, 6/14/09, Ming-Ching Tiew <mctiew at yahoo.com> wrote:



> radiusd: #### Opening IP addresses and Ports ####
> listen {
>         type = "auth"
>         ipaddr = *
>         port = 0
> Thread 4 waiting to be assigned a request
> Thread 5 waiting to be assigned a request
> Re-wait 3
> Re-wait 1
> Re-wait 2
> 
> And nothing after that. netstat -naut still does not have
> anything listening to 1812.
> 
> Regards.
> 

Apparently the program was stucked at function fr_suid_up(),
inside which it calls setrersuid(-1, suid, -1 ) with 
suid = 0. The blocks there forever and never return. 

I think I will try to compile without HAVE_SETUID to see 
what happens.

Regards.




      



More information about the Freeradius-Devel mailing list