From: "cyx_mail" <cyx_mail@foxmail.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Re: issue about PIDs ?
Date: Thu, 22 May 2008 01:27:32 +0000 [thread overview]
Message-ID: <200805220927320004099@foxmail.com> (raw)
In-Reply-To: <200805212131204066521@foxmail.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 1516 bytes --]
> Workaround is to define a handler or ignore the SIGTERM signal in your pppoe-server code.
you mean define a handler in pppd code? what function should call in the handler to bring the pppd down gracefully?
2008-05-22
·¢¼þÈË£º James Cameron
·¢ËÍʱ¼ä£º 2008-05-22 07:11:51
ÊÕ¼þÈË£º cyx_mail
³ËÍ£º linux-ppp
Ö÷Ì⣺ Re: issue about PIDs ?
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@vger.kernel.org
__________ NOD32 3090 (20080509) Information __________
This message was checked by NOD32 antivirus system.
http://www.nod32cn.com
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þiþ)í
æèw*\x1fjg¬±¨\x1e¶Ý¢jÿ¾\a«þG«éÿ¢¸\f¢·¦j:+v¨wèjØm¶ÿþø\x1e¯ù\x1e®w¥þàþf£¢·hâúÿÙ¥
next prev parent reply other threads:[~2008-05-22 1:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-21 13:31 issue about PIDs ? cyx_mail
2008-05-21 23:12 ` James Cameron
2008-05-22 1:27 ` cyx_mail [this message]
2008-05-22 1:29 ` James Cameron
2008-05-22 1:37 ` cyx_mail
2008-05-22 2:37 ` James Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200805220927320004099@foxmail.com \
--to=cyx_mail@foxmail.com \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.