Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1329 - ppp-2.4.2 bug: "... Terminating on signal 15." floods syslog

Attached to Project: Arch Linux
Opened by Sebastian (lubot) - Friday, 27 August 2004, 15:46 GMT
Last edited by Judd Vinet (judd) - Saturday, 28 August 2004, 03:47 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Recently pppd was flooding my syslog with over 10000 error messages a second: "... Terminating on signal 15." which resulted in very fast growing log files.
This always happend if i call 'adsl-stop' (from pkg rp-pppoe) to disconnect my dsl connection.
I was looking for a solution on the internet and found one on comp.protocols.ppp (http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&selm=9rvv0c.14o.ln%40corncob.localhost.tld)
and linux-ppp mailing list (http://marc.theaimsgroup.com/?l=linux-ppp&m=107498594022952&w=2).

This bug seems to be ppp-2.4.2 specific. May be you should switch back to the offical release 2.4.1 or use a recent cvs version which also fixs the bug.

Here are the patch and a modified PKGBUILD for ppp-2.4.2:

<patch>
--- main.c-original Mon Jan 12 22:00:34 2004
+++ main.c Sat Jan 24 19:49:16 2004
@@ -1338,8 +1338,8 @@

act.sa_handler = SIG_IGN;
act.sa_flags = 0;
- sigaction(sig, &act, &oldact);
kill(0, sig);
+ sigaction(sig, &act, &oldact);
sigaction(sig, &oldact, NULL);
}
</patch>

<PKGBUILD>
build() {
cd $startdir/src/$pkgname-$pkgver

# fixed pppd flooding the syslog with "Terminating on signal 15"
sed -i -e '1341c kill(0, sig);' \
-e '1342c sigaction(sig, &act, &oldact);' pppd/main.c

# fix CFLAGS
...
</PKGBUILD>
This task depends upon

Closed by  Judd Vinet (judd)
Monday, 13 September 2004, 22:59 GMT
Reason for closing:  Fixed

Loading...