Bug 39543
Summary: | ppp-watch does not detect the UP status of the ppp interface | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Marco Paganini <paganini> | ||||||
Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.1 | CC: | cefrodrigues, rvokal, shane | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2001-05-25 01:06:11 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: | |||||||||
Attachments: |
|
Description
Marco Paganini
2001-05-08 03:16:58 UTC
Created attachment 17646 [details]
Context diff with the workaround
I think this may be the same thing as Bug 37716 I found (what I assume is) a mistake in /etc/sysconfig/network-scripts/network-functions which meant that files in /var/run/netreport were being deleted even if the kill -SIGIO succeeded. Thinking back, I didn't have the problem after first installing (which would have been kernel 2.4.2) so possibly the problem is deeper than this. However, with the change to network-functions, ppp-watch now works as expected on my setup. Created attachment 18046 [details]
diff for do_netreports() in network-functions
I think this is also a duplicate of bug http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=39230. *** Bug 39230 has been marked as a duplicate of this bug. *** After poking around a bit, my guess is that the problem must be with pppd or the ppp driver in the kernel since do_netreports is called indirectly by /etc/ppp/ip-up which should be called by pppd only when the link is up and running. For some reason, sometimes pppd is calling it before the link is up. But I run ipcheck (to update my dyndns account) from /etc/ppp/ip-up.local and it always succeds, so the problem bust be happening after do_netreports is called in ifup-post and /etc/ppp/ip-up.local is called. There must be a race condition somewhere. Or maybe I'm just plain wrong. So the network-functions change (which is completely correct, BTW), does not always work for you? It seems to be working, but, since I only see the problem happening about 10% of the times I try to connect and I didn't use it much since I patched initscripts (with the network-functions patch because with the 15 retries one it is working), I haven't yet reached the conclusion that it is fixed. Anyway, reading the comment I interpreted it as the files being deleted always, and with me they aren't getting deleted. With me the problem happens so rarely that I haven't figured out a pattern for it, nor have I been able to reproduce it on purpose. I'm now as certain as I can be that the network-functions patch works. For me the problem is solved. OK, marking as resolved. The fix will be in initscripts-5.88-1. |