Red Hat Bugzilla – Bug 484635
/etc/ppp/ip-down.local not being called after ifdown
Last modified: 2014-11-09 17:31:36 EST
Description of problem:
ip-down.local is not being called for a ifdown command
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create /etc/ppp/ip-down (add logger command)
2. ifdown myconnection
no script called (nothing in syslog)
logger output in syslog
if-up.local is working ok but not its down counterpart.
script is executable :
ls -al /etc/ppp/ip-down.local
-rwxr-xr-x 1 root root 2113 2009-02-09 08:06 /etc/ppp/ip-down.local
this script working before I upgraded to FC10
ie previous version working in FC8
I understood /etc/ppp/ip-dwon is called + executed correct. Did you try to make logs in /etc/ppp/ip-down which part is executed? (all or there is unexpected end of execution)
Can you provide me your scripts ip-down and ip-down.local.
Created attachment 363050 [details]
ip-up.local -> log-ppp
ip-up.local -> log-ppp (symlink'd file)
sorry for the typo that was /etc/ppp/ip-down.
note it seems to me that the ip-down for some reason I can't find runs every now and again .. eg I have my ppp0 interface started every midnight
here is the log file (below).
as you can see ip-down excutes every now and again but not every day.
13/09/2009 08:58:45 ip-up ppp0 velocity 18.104.22.168
13/09/2009 09:07:38 ip-up ppp0 velocity 22.214.171.124
13/09/2009 09:37:51 ip-up ppp0 velocity 126.96.36.199
13/09/2009 10:15:34 ip-up ppp0 velocity 188.8.131.52
13/09/2009 10:21:40 ip-up ppp0 velocity 184.108.40.206
14/09/2009 00:09:04 ip-up ppp0 velocity 220.127.116.11
14/09/2009 12:53:44 ip-up ppp0 velocity 18.104.22.168
14/09/2009 13:13:09 ip-down ppp0 velocity 22.214.171.124 1166 592246 199155
14/09/2009 13:14:37 ip-up ppp0 velocity 126.96.36.199
14/09/2009 13:31:21 ip-up ppp0 velocity 188.8.131.52
15/09/2009 00:09:03 ip-up ppp0 velocity 184.108.40.206
16/09/2009 00:09:03 ip-up ppp0 velocity 220.127.116.11
16/09/2009 14:18:40 ip-up ppp0 velocity 18.104.22.168
17/09/2009 00:09:04 ip-up ppp0 velocity 22.214.171.124
18/09/2009 00:09:03 ip-up ppp0 velocity 126.96.36.199
18/09/2009 05:40:29 ip-down ppp0 velocity 188.8.131.52 19886 601690915 13636951
18/09/2009 05:40:37 ip-up ppp0 velocity 184.108.40.206
19/09/2009 00:09:03 ip-up ppp0 velocity 220.127.116.11
20/09/2009 00:09:04 ip-up ppp0 velocity 18.104.22.168
21/09/2009 00:09:03 ip-up ppp0 velocity 22.214.171.124
thanks for quick response.
As you wrote ip-down runs every now and again for some reason. The reason is an object of our interest. Therefore I have stupid question. Is the pppd running when the ppp connection should be disconnected?
the short answer is I don't know, I assume the "ifdown ppp0" command kills this daemon at some stage.
is there anything I can do to verify this in my ip-down script?
hmm, if 'ifdown ppp0' didn't fail then pppd probably was running. But I'd like to be sure because I currently have no another idea why the ip-down is not invoked.
This message is a reminder that Fedora 10 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 10. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '10'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 10's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 10 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.