| Summary: | pppd or rp-pppoe fills system logs | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Cletus Lichte <lichte> |
| Component: | Current packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | hramrach |
| Priority: | High | Keywords: | Inclusion |
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | fixes endless loop when pppd is killed | ||
|
Description
Cletus Lichte
2004-07-26 02:01:34 UTC
Ok, I rewrote the /usr/sbin/adsl-stop script and put the kill adsl-connect part before the kill pppd part. It seems that rp-pppoe tries to restart the connection if it notices that pppd has stopped and this my be causing the problem. I also changed all the kill lines to kill -9. The offending lines in my /var/log/messages no longer show up. Question, are the adsl scripts in the rp-pppoe package written by Gentoo devs, or by someone else? I'd like to send the changes I made on to whomever can make use of them. Thanks! Well, I just took out the kill -9 to see if that was the fix, or if moving the one block of code was the fix. With out the kill -9, I still get the problem with output lines in my messages file. I also just noticed that in addition to filling my log file, pppd and pppoe don't ever stop running. Oh well, with kill -9 the problem seems to be solved. Created attachment 36397 [details, diff]
fixes endless loop when pppd is killed
There is a bug in pppd 2.4.2 which causes it to loop endlessly when it receives a signal. The problem is described here: http://marc.theaimsgroup.com/?l=linux-ppp&m=107498594022952&w=2 attaching patch Will this make it into portage soon? perhaps if you put the Inclusion keyword to this bug you wold attract some more attention? I cannot even do that. added the patch. |