[ovs-git] [openvswitch/ovs] a6380c: debian: install openvswitch kernel module under "u...

GitHub noreply at github.com
Wed May 27 01:27:13 UTC 2015


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: a6380c8245ccc68f6c53116a5dd5f47dd8a2cca5
      https://github.com/openvswitch/ovs/commit/a6380c8245ccc68f6c53116a5dd5f47dd8a2cca5
  Author: Ansis Atteka <aatteka at nicira.com>
  Date:   2015-05-26 (Tue, 26 May 2015)

  Changed paths:
    M debian/rules.modules

  Log Message:
  -----------
  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 at nicira.com>
Acked-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list