diff options
author | Ansis Atteka <aatteka@nicira.com> | 2015-05-26 16:49:49 -0700 |
---|---|---|
committer | Ansis Atteka <aatteka@nicira.com> | 2015-05-26 18:24:59 -0700 |
commit | b519432205c36bda5c7331f77a49eaaa919967ad (patch) | |
tree | 21f8f7198c679f5693de6eabea8684cbb8a9d0f6 | |
parent | 8217bc65d26c3f758bfbda7b0bc070eb1cd03a35 (diff) | |
download | openvswitch-b519432205c36bda5c7331f77a49eaaa919967ad.tar.gz |
debian: install openvswitch kernel module under "updates" directory
This patch fixes a bug where "modprobe openvswitch" command on Ubuntu
distribution would have sometimes tried to load OVS kernel module that
shipped together with Linux Kernel, even though one had also installed
OVS datapath debian package created with module-assistant. Because of
this issue force-reload-kmod command occasionally malfunctioned and
failed to load the right kernel module.
This bug happened *occasionally* because the default Ubuntu depmod
configuration in /etc/depmod.d/ubuntu.conf is set to look for kernel
modules first in "updates" directory, then in "ubuntu" directory and
then in other directories. If there were two openvswitch.ko modules
in "other directories", then modprobe would have loaded kernel
module that was nondeterministically listed first by file system.
Signed-off-by: Ansis Atteka <aatteka@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
-rwxr-xr-x | debian/rules.modules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules.modules b/debian/rules.modules index 2eb944055..657168394 100755 --- a/debian/rules.modules +++ b/debian/rules.modules @@ -17,7 +17,7 @@ kdist_clean: kdist_config: prep-deb-files .PHONY: binary-modules -binary-modules: DSTDIR = $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel +binary-modules: DSTDIR = $(CURDIR)/debian/$(PKGNAME)/lib/modules/$(KVERS)/kernel/updates binary-modules: prep-deb-files dh_testdir dh_testroot |