Red Hat Bugzilla – Bug 1478081
/etc/ppp/ipv6-down does not run ipv6-down.local
Last modified: 2017-12-16 08:25:46 EST
Description of problem:
ppp daemon on exit run /etc/ppp/ipv6-down script. This script should call local script "/etc/ppp/ipv6-down.local".
But this execution depends on existence of file "/etc/sysconfig/network-scripts/ifcfg-ppp0". If this file does not exist then "ipv6-down.local" is not started.
I found that it helps to change the shell (first line) in file "ipv6-down" from /bin/sh to /bin/bash. (#!/bin/bash)
The twins file /etc/ppp/ipv6-up in current package already has interpreter set to /bin/bash.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. don't use (remove) /etc/sysconfig/network-scripts/ifcfg-ppp0
2. create /etc/ppp/ipv6-down.local
3. pppd call provider
4. killall pppd
"/etc/ppp/ipv6-down" exits early and does not run local script "/etc/ppp/ipv6-down.local".
My ppp config file /etc/ppp/peers/provider: