[Pkg-ceph-commits] [ceph-dkms] 02/07: install modprobe.d override file to force modules loading

Dmitry Smirnov onlyjob at moszumanska.debian.org
Thu May 8 20:10:24 UTC 2014


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch master
in repository ceph-dkms.

commit 96eefb2
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Thu May 8 08:29:59 2014

    install modprobe.d override file to force modules loading
---
 debian/ceph-dkms.conf | 6 ++++++
 debian/install        | 1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/ceph-dkms.conf b/debian/ceph-dkms.conf
new file mode 100644
index 0000000..4ba0389
--- /dev/null
+++ b/debian/ceph-dkms.conf
@@ -0,0 +1,6 @@
+## This file is needed to force loading [ceph,rbd] modules despite of
+## "[module] disagrees about version of symbol" error. That's because kernel
+## knows its own version of 'libceph' but we provide ours with newer symbols.
+
+install ceph /sbin/modprobe --ignore-install --force-modversion ceph $CMDLINE_OPTS
+install rbd  /sbin/modprobe --ignore-install --force-modversion rbd  $CMDLINE_OPTS
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..660794f
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+debian/ceph-dkms.conf    /lib/modprobe.d/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph-dkms.git



More information about the Pkg-ceph-commits mailing list