[Bug 243697] Re: network-manager-vpnc doesn't start scripts in /etc/NetworkManager/dispatch.d/

2011-08-05 Thread Mathieu Trudel-Lapierre
This particular issue was fixed in network-manager in Natty; marking Fix
Released.

** Changed in: network-manager-vpnc (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/243697

Title:
  network-manager-vpnc doesn't start scripts in
  /etc/NetworkManager/dispatch.d/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-vpnc/+bug/243697/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 243697] Re: network-manager-vpnc doesn't start scripts in /etc/NetworkManager/dispatch.d/

2011-02-11 Thread Brendan Braybrook
calling vpnc with the --script /path/to/script would trigger something
to run after the interface has been brought up/down as well (except that
vpnc would trigger the script).

perhaps there could be a config option to network-manager-vpnc to pass
--script /path/to/somescript when it executes vpnc? (if brett's solution
above is disliked for some reason)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/243697

Title:
  network-manager-vpnc doesn't start scripts in
  /etc/NetworkManager/dispatch.d/

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 243697] Re: network-manager-vpnc doesn't start scripts in /etc/NetworkManager/dispatch.d/

2010-01-21 Thread Brett Delle Grazie
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs