Bug 145398
| Summary: | ifdown doesn't take ppp down. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ralph Loader <suckfish> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | denis, mitr, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-03-05 12:45:58 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: | 150221 | ||||||
| Attachments: |
|
||||||
|
Description
Ralph Loader
2005-01-17 23:33:47 UTC
Can you post the output of 'sh -x ifdown IHug'? (You may need to run sh -x on ifdown-ppp). Created attachment 110096 [details]
sh -x ifdown-ppp IHug
The ifdown scripts seem to be doing their job. They are sending SIGTERM to the
ppp-watch process.
Here's strace's of the ppp-watch processes. (I used strace -p after
connecting, so only the shutdown of ppp-watch is present). There were
two ppp-watch processes running - is that normal?
ppp-watch seems to be looking for the wrong file -
/var/run/ppp-IHug.pid - that doesn't exist but ppp-ifcfg-IHug.pid does.
# cat ppp-watch-7963.trace
--- SIGTERM (Terminated) @ 0 (0) ---
sigreturn() = ? (mask now [HUP INT TERM
CHLD IO])
open("/var/run/ppp-IHug.pid", O_RDONLY) = -1 ENOENT (No such file or
directory)
clone(child_stack=0,
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
child_tidptr=0xb7ff4928) = 8013
waitpid(8013, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 8013
write(4, "#", 1) = 1
close(4) = 0
unlink("/var/run/pppwatch-ppp0.pid") = 0
exit_group(35) = ?
# cat ppp-watch-7949.trace
read(3, "#", 1) = 1
write(2, "Failed to activate IHug with err"..., 38) = 38
exit_group(35) = ?
In case it's helpful, here are the ppp-watch and pppd command lines, as per ps: 8181 ? S 0:00 /sbin/ppp-watch IHug 8195 ? Ss 0:00 /sbin/ppp-watch IHug 8197 ttyS1 Ss+ 0:00 pppd lock modem crtscts asyncmap 00000000 defaultroute usepeerdns user suckfish remotename ifcfg-IHug nodetach /dev/ttyS1 115200 ipparam ifcfg-IHug linkname ifcfg-IHug call ifcfg-IHug noauth |