Whamcloud - gitweb
LU-12019 build: remove global depmod.d conf from debs
Lustre should not be creating a global depmod.d configuration
file that affects the load order of all modules installed
on the system.
Yet, Lustre has a depmod.d configuration file that attempts
to mirror the default configuration (the man page is
identical for Debian):
https://manpages.ubuntu.com/manpages/xenial/en/man5/depmod.d.5.html
"By default, depmod will give a higher priority to a
directory with the name updates using this built-in
search string: "updates built-in" but more complex
arrangements are possible and are used in several
popular distributions."
However, when we switched from:
search updates built-in
to:
search updates/kernel built-in
Ubuntu depmod was forced to prefer build-in modules, since
the modules are not in `updates/kernel` as in Debian. If a
user has third party modules installed on their system, this
could make Ubuntu load the wrong module by default.
This patch removes the lustre.conf depmod.d file. By
leaving these load-order decisions to the distribution, this
patch addresses the regression on Ubuntu.
Fixes: 7ea4e0c ("LU-12019 build: Recognize Debian Kernel and set KMP dir")
Test-Parameters: trivial clientdistro=ubuntu2204
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I96fe1c0e64c48d045d46d62a10e8c8bd6ad2cb7d
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54025
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Thomas Stibor <thomas@stibor.net>
Reviewed-by: Oleg Drokin <green@whamcloud.com>