[Bug 243697] Re: network-manager-vpnc doesn't start scripts in /etc/NetworkManager/dispatch.d/
Brett Delle Grazie
bdellegrazie at bdgengineering.co.uk
Thu Jan 21 15:40:02 UTC 2010
Hi,
A similar problem does exist in Karmic in package:
0.8~a~git.20091013t193206.679d548-0ubuntu1
The problem was:
/etc/NetworkManager/dispatcher.d/01ifupdown does not support vpn-up / vpn-down operations and therefore exits with an error (1). It is possible (but unconfirmed) that if a dispatcher script exits in error state, subsequent scripts are not called.
My fix was:
@@ -17,7 +17,7 @@
# Run the right scripts
case "$2" in
- up)
+ up|vpn-up)
export MODE="start"
export PHASE="up"
@@ -32,7 +32,7 @@
exec run-parts /etc/network/if-up.d
;;
- down)
+ down|vpn-down)
export MODE="stop"
export PHASE="down"
Hope this helps.
--
network-manager-vpnc doesn't start scripts in /etc/NetworkManager/dispatch.d/
https://bugs.launchpad.net/bugs/243697
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list