-------- Original-Nachricht --------
> Datum: Wed, 20 Feb 2013 10:29:07 -0500
> Von: "Craig Campbell" <[email protected]>
> An: "FreeRadius users mailing list" <[email protected]>
> Betreff: Re: echo module creating zombies

> Try changing wait to "yes".
> 
> Zombies are processes that have ended, but for which the parent has not 
> "waited" to acknowledge the death of the child.
> Their 'slot' in the process table has not been freed for re-use.
> 
> -----Original Message----- 
> From: [email protected]
> Sent: Wednesday, February 20, 2013 9:54 AM
> To: [email protected]
> Subject: echo module creating zombies
> 
> Hello list,
> 
> I have a problem regarding the echo module which on my system creates
> zombie 
> processes. I am using the following settings for echo:
> 
> wait = no
> program = "/bin/true" (just for testing purposes)
> packet_type = Access-Accept
> 
> After echo execs the program in question there is an undead child process 
> left behind:
> 
> 13467 ?        Ssl    0:00 /usr/local/freeradius/sbin/radiusd
> 14258 ?        Z      0:00  \_ [true] <defunct>
 
Ah, okay, thanks. I deliberately set wait=no since I don't want the module to 
fail just because the underlying binary exited with something else than 0. I 
just need to run a script and pass it the username after a successful login, is 
there a better way to do this ? The exec module doesn't seem the right way to 
to this.

Regards
Stephan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to