Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2012 at 05:19:43PM -0800, Ansis Atteka wrote: > This will print a warning and avoid user-space restart > if system already had 1.3 or older OVS installed. This is > a workaround for a bug where older kernel modules could not > communicate with newer user-space. > > Issue: 9128 > >

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ansis Atteka
On Wed, Jan 18, 2012 at 3:44 PM, Ben Pfaff wrote: > On Wed, Jan 18, 2012 at 03:39:06PM -0800, Ansis Atteka wrote: > > But can I assume that it is safe to hardcode in postinst the > > /etc/init.d/openvswitch-switch path? I guess that the debhelper > > gets it from ./configure, right? Will look int

[ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ansis Atteka
This will print a warning and avoid user-space restart if system already had 1.3 or older OVS installed. This is a workaround for a bug where older kernel modules could not communicate with newer user-space. Issue: 9128 Signed-off-by: Ansis Atteka Reported-by: Michael Kruze --- debian/automake

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2012 at 03:39:06PM -0800, Ansis Atteka wrote: > But can I assume that it is safe to hardcode in postinst the > /etc/init.d/openvswitch-switch path? I guess that the debhelper > gets it from ./configure, right? Will look into this... The #DEBHELPER# block currently expands to:

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ansis Atteka
On Wed, Jan 18, 2012 at 2:59 PM, Ben Pfaff wrote: > On Wed, Jan 18, 2012 at 02:43:30PM -0800, Ansis Atteka wrote: > > This will print a warning and avoid user-space restart > > if system already had 1.3 or older OVS installed. This is > > a workaround for a bug where older kernel modules could no

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ben Pfaff
On Wed, Jan 18, 2012 at 02:43:30PM -0800, Ansis Atteka wrote: > This will print a warning and avoid user-space restart > if system already had 1.3 or older OVS installed. This is > a workaround for a bug where older kernel modules could not > communicate with newer user-space. > > Issue: 9128 > >

[ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade from 1.3

2012-01-18 Thread Ansis Atteka
This will print a warning and avoid user-space restart if system already had 1.3 or older OVS installed. This is a workaround for a bug where older kernel modules could not communicate with newer user-space. Issue: 9128 Signed-off-by: Ansis Atteka Reported-by: Michael Kruze --- debian/openvswi

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade

2012-01-16 Thread Ben Pfaff
On Mon, Jan 16, 2012 at 02:10:40PM -0800, Ansis Atteka wrote: > I can alter the postinst behavior from 1.4 and up branches to the following: > > > if upgrade-from-pre-1.4-ovs to 1.4+-ovs then > > throw a warning that kernel module needs to be reloaded so not > > restarting user space > > else >

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade

2012-01-16 Thread Ansis Atteka
I can alter the postinst behavior from 1.4 and up branches to the following: > if upgrade-from-pre-1.4-ovs to 1.4+-ovs then > throw a warning that kernel module needs to be reloaded so not > restarting user space > else > do only userspace restart and use old kernel module > fi See other com

Re: [ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade

2012-01-16 Thread Ben Pfaff
On Fri, Jan 13, 2012 at 11:40:50AM -0800, Ansis Atteka wrote: > This will make Debian upgrade consistent with Xenserver > and RH where user must manually run force-reload-kmod > command after the upgrade. > > Issue: 9128 > > Signed-off-by: Ansis Atteka > Reported-by: Michael Kruze I'm not sure

[ovs-dev] [PATCH] packaging: Do not automatically restart user-space on upgrade

2012-01-13 Thread Ansis Atteka
This will make Debian upgrade consistent with Xenserver and RH where user must manually run force-reload-kmod command after the upgrade. Issue: 9128 Signed-off-by: Ansis Atteka Reported-by: Michael Kruze --- debian/openvswitch-switch.postinst |6 ++ debian/rules |