Re: issue about PIDs ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 21, 2008 at 09:31:20PM +0800, cyx_mail wrote:
> I modified the pppoe-server code ,and let pppoe-server spawn a pppd.
> then let the server send SIGTEM to pppd(using kill(pppd 2's pid ,
> SIGTEM)) not using the normal way(such as stopsession as the code
> written). the pppoe-server and pppd die both, why?

I guess you mean SIGTERM.  This matches my observation with pptpconfig.
Workaround is to define a handler or ignore the SIGTERM signal in your
pppoe-server code.

NetworkManager-pptp also specifically handles SIGTERM and SIGINT,
presumably for the same reason.

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux