Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded on install

2011-09-12 Thread Simon Horman
On Mon, Sep 12, 2011 at 09:30:10AM -0700, Ben Pfaff wrote: > On Sat, Sep 10, 2011 at 03:09:31PM +0900, Simon Horman wrote: > > By registering an error-handler for the init script used > > in openvswitch-switch.postinst and detecting if module insertion fails, > > it is possible to avoid failure to

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded on install

2011-09-12 Thread Ben Pfaff
On Sun, Sep 11, 2011 at 04:49:34PM +0900, Simon Horman wrote: > > logic to the postinst script. As suggested by Ben Phaff > > Ben, I apologise for misspelling your name. No big deal, I actually hadn't noticed until you pointed it out. ___ dev mailing

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded on install

2011-09-12 Thread Ben Pfaff
On Sat, Sep 10, 2011 at 03:09:31PM +0900, Simon Horman wrote: > By registering an error-handler for the init script used > in openvswitch-switch.postinst and detecting if module insertion fails, > it is possible to avoid failure to install in the case where the > openvswitch_mod module is not avail

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded on install

2011-09-11 Thread Simon Horman
On Sat, Sep 10, 2011 at 03:09:31PM +0900, Simon Horman wrote: > By registering an error-handler for the init script used > in openvswitch-switch.postinst and detecting if module insertion fails, > it is possible to avoid failure to install in the case where the > openvswitch_mod module is not avail

[ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded on install

2011-09-09 Thread Simon Horman
By registering an error-handler for the init script used in openvswitch-switch.postinst and detecting if module insertion fails, it is possible to avoid failure to install in the case where the openvswitch_mod module is not available. This is done without altering the behaviour that the start targ

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-08 Thread Ben Pfaff
On Fri, Sep 09, 2011 at 08:49:19AM +0900, Simon Horman wrote: > On Thu, Sep 08, 2011 at 01:11:07PM -0700, Ben Pfaff wrote: > > On Wed, Sep 07, 2011 at 10:10:31AM +0900, Simon Horman wrote: > > > When starting openvswtich-vswitch fail gracefully if > > > modules can't be loaded. Otherwise package in

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-08 Thread Simon Horman
On Thu, Sep 08, 2011 at 01:11:07PM -0700, Ben Pfaff wrote: > On Wed, Sep 07, 2011 at 10:10:31AM +0900, Simon Horman wrote: > > When starting openvswtich-vswitch fail gracefully if > > modules can't be loaded. Otherwise package install will > > fail if the openvswitch_mod modules is not available. >

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-08 Thread Ben Pfaff
On Wed, Sep 07, 2011 at 10:10:31AM +0900, Simon Horman wrote: > When starting openvswtich-vswitch fail gracefully if > modules can't be loaded. Otherwise package install will > fail if the openvswitch_mod modules is not available. > > This resolves a regression between 1.1.1 and 1.2.1. > > This m

[ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-06 Thread Simon Horman
When starting openvswtich-vswitch fail gracefully if modules can't be loaded. Otherwise package install will fail if the openvswitch_mod modules is not available. This resolves a regression between 1.1.1 and 1.2.1. This makes use of the load-kmod subcommand which was added to ovs-ctl for this pur

Re: [ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-06 Thread Ben Pfaff
On Tue, Sep 06, 2011 at 09:35:48AM +0900, Simon Horman wrote: > When starting openvswtich-vswitch fail gracefully if > modules can't be loaded. Otherwise package install will > fail if the openvswitch_mod modules is not available. > > This resolves a regression between 1.1.1 and 1.2.1. > > This m

[ovs-dev] [PATCH 2/3] Debian: fail gracefully if modules can't be loaded

2011-09-05 Thread Simon Horman
When starting openvswtich-vswitch fail gracefully if modules can't be loaded. Otherwise package install will fail if the openvswitch_mod modules is not available. This resolves a regression between 1.1.1 and 1.2.1. This makes use of the load-kmod subcommand which was added to ovs-ctl for this pur