Bug 222295
Summary: | ppp-2.4.3-6.2.1 conflict with syslog on pppoe-server. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexey Dmitriev <dalex> | ||||
Component: | ppp | Assignee: | Martin Nagy <mnagy> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 6 | CC: | andryan, flo-bugzilla, hripps | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-12 09:31:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 443914 | ||||||
Attachments: |
|
Description
Alexey Dmitriev
2007-01-11 15:07:57 UTC
Reproducible on Fedora Core 6. I tried installing syslog-ng from Fedora Extras, but that didn't fix the problem. Reassigning to FC-6. Can you please provide the logging output? Aug 30 18:04:54 pppoe pppoe-server[2147]: Session 3 created for client 00:50:ba:bd:5b:14 (10.67.15.3) on eth0 using Service-Name '' Aug 30 18:04:54 pppoe pppd[2147]: pppd 2.4.4 started by root, uid 0 Aug 30 18:04:54 pppoe pppd[2147]: Using interface ppp0 Aug 30 18:04:54 pppoe pppd[2147]: Connect: ppp0 <--> /dev/pts/1 Aug 30 18:05:25 pppoe pppd[2147]: LCP: timeout sending Config-Requests Aug 30 18:05:25 pppoe pppd[2147]: Connection terminated. Aug 30 18:05:25 pppoe pppd[2147]: Modem hangup Aug 30 18:05:30 pppoe pppd[2147]: Exit. Might want to assign this to Fedora 7 as well since this issue also exists in Fedora 7. From http://forum.nag.ru/forum/index.php?s=&showtopic=39627&view=findpost&p=285712 small patch: --- ppp-2.4.4/pppd/main.c.orig 2006-06-04 07:52:50.000000000 +0400 +++ ppp-2.4.4/pppd/main.c 2007-11-09 14:47:20.000000000 +0300 @@ -1567,6 +1567,8 @@ if (errfd == 0 || errfd == 1) errfd = dup(errfd); + closelog(); + /* dup the in, out, err fds to 0, 1, 2 */ if (infd != 0) dup2(infd, 0); @@ -1575,7 +1577,6 @@ if (errfd != 2) dup2(errfd, 2); - closelog(); if (log_to_fd > 2) close(log_to_fd); if (the_channel->close) Wow, finally a solution.. Thanks! I hope this issue has been fixed in Fedora 8. This bug is also present in RHEL/CentOS 5. I suppose the bug really is in ppp-2.4.3 and 2.4.4, because ppp-2.4.2 works fine. Created attachment 269351 [details]
closelog() is called early
I have tested this patch with ppp-2.4.4-2 and rp-pppoe-3.8-1 on Fedora 8.
Everything ran as expected.
Can you explain to me, how to apply this patch, if i have src files??? Fixed in ppp-2.4.4-6.fc9 Changing component back to ppp, I have no idea how the heck did it change to "4suite" (In reply to comment #10) > Fixed in ppp-2.4.4-6.fc9 Can you provide a download link for the ppp-2.4.4-6 rpm please? Check for a mirror near you here: http://mirrors.fedoraproject.org/publiclist You should click on the rawhide link to filter only repositories with rawhide.. Also know that the file doesn't have to be there at once, it might take a while. |