/usr/sbin/usernetctl down (if uid!=0) that calls
/sbin/ifdown that calls
/etc/sysconfig/network-scripts/ifdown-ppp that calls
/etc/sysconfig/network-scripts/ifdown-post that finally calls
also, /etc/ppp/ip-down calls
/etc/sysconfig/network-scripts/ifdown-post that calls
Et voila! ifdown-local ends up being called twice. I found out because both named
wwwoffle complain about duplicate commands (already stopped or already offline).
I found this:
# killing ppp-watch twice in a row causes it to send a SIGKILL to pppd pgrp
kill -TERM $PID > /dev/null 2>&1
# ip-down won't run in this case
Maybe this no longer holds true?
*** Perhaps this no longer holds true? (6.2, initscripts 5.00-1)
Still present in Pinstripe
Still present in RC1
will be fixed in 5.46-1.