It seems I found a fix for this.

dkms.conf in openvswitch module sources lacks «AUTOINSTALL="yes"» entry,
so this module won't rebuild on kernel updates.

Go to /usr/src/openvswitch-1.4.0 and add 'AUTOINSTALL=yes' to the end of
the file. It should look like this:

==================================================

PACKAGE_NAME="openvswitch"
PACKAGE_VERSION="1.4.0"
MAKE="./configure --with-linux=/usr/src/linux-headers-`uname -r` ; make -C 
datapath/linux"
BUILT_MODULE_NAME[0]=openvswitch_mod
BUILT_MODULE_NAME[1]=brcompat_mod
BUILT_MODULE_LOCATION[0]=datapath/linux/
BUILT_MODULE_LOCATION[1]=datapath/linux/
DEST_MODULE_LOCATION[0]=/kernel/drivers/net/openvswitch/
DEST_MODULE_LOCATION[1]=/kernel/drivers/net/openvswitch/
AUTOINSTALL="yes"

==================================================

You can do it faster with this command:

# echo 'AUTOINSTALL="yes"' >> /usr/src/openvswitch-1.4.0/dkms.conf


This should fix module building on kernel updates.

-- 
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/962189

Title:
  dkms module is not automatically rebuild when installing new linux-
  image package

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to