From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)
Description of problem:
When using pppd with the pty option it is seen that the ppp session is NOT
terminated on the host machine. This has been tested and verified using
the benoit ADSL driver with the pppoa2 plugins and pppd 2.4.0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. pppd call adsl (adsl is a peers file)
2. <connection made>
3. killall pppd
Actual Results: 1. Connects to the host machine correctly and establishes
2. Once killed does not send a <TERMREQ> to the host machine.
Expected Results: When a term signal is sent to pppd it should send a
<TERMREQ> to the host prior to exiting. It closes the connector BEFORE
issuing the <TERMREQ>
I have patched main.c;
info("Terminating on signal %d.", sig);
persist = 0; /* don't try to restart */
kill_link = 1;
status = EXIT_USER_REQUEST;
// Send the term request now before the connector processes get killed
lcp_close(0, "User request");
/* Send the signal to the [dis]connector process(es) also */
- not the most elegant but did fix the problem, the host debug on ppp
showed the <TERMREQ> coming in and the session being cleaned up correctly.
Please verify this with a newer version of Red Hat Enterprise Linux or Fedora
Core and reopen it against the new version if it still occurs.
Closing as "not a bug" for now.