[Bug 1314887] [NEW] ifupdown hook is missing in upstart script

Hiroaki Kawai 1314887 at bugs.launchpad.net
Thu May 1 04:31:13 UTC 2014


Public bug reported:

ifupdown hook is present in /etc/init.d/openvswitch-switch, but not in
/etc/init/openvswitch-switch.conf which is the default.

=== modified file 'debian/openvswitch-switch.upstart'
--- debian/openvswitch-switch.upstart   2013-08-23 11:18:52 +0000
+++ debian/openvswitch-switch.upstart   2014-05-01 04:26:00 +0000
@@ -32,11 +32,13 @@
   fi
   set "$@" $OVS_CTL_OPTS
   "$@"
+  ifup --allow ovs `ifquery --allow ovs --list`
 end script

 post-stop script
   . /usr/share/openvswitch/scripts/ovs-lib
   test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch

+  ifdown --allow ovs `ifquery --allow ovs --list`
   ovs_ctl stop
 end script

** Affects: openvswitch (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1314887

Title:
  ifupdown hook is missing in upstart script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1314887/+subscriptions



More information about the Ubuntu-server-bugs mailing list