Gentoo Archives: gentoo-amd64

From: Kyle Lutze <kyle@×××××××××××.com>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] catch 22 with realtime-lsm and commoncap (capability dependency) modules
Date: Sun, 23 Apr 2006 18:12:07
Message-Id: 444BC282.4040702@randomvoids.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 I'm trying to load both realtime-lsm and capability, but I can only load
5 one. the error I get is:
6
7 FATAL: Error inserting realtime
8 (/lib/modules/2.6.16-gentoo-r1-apple1/extra/realtime.ko): Invalid module
9 format
10
11 now if I load realtime first, and then try to load capability I get
12
13 WARNING: Error inserting commoncap
14 (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/commoncap.ko):
15 Invalid module format
16 FATAL: Error inserting capability
17 (/lib/modules/2.6.16-gentoo-r1-apple1/kernel/security/capability.ko):
18 Invalid argument
19
20 I know commoncap is the culprit, by why?
21
22 dmesg output:
23 realtime: exports duplicate symbol cap_vm_enough_memory (owned by commoncap)
24
25 Realtime LSM initialized (group 18, mlock=1)
26 commoncap: exports duplicate symbol cap_vm_enough_memory (owned by realtime)
27 Failure registering capabilities with primary security module.
28
29
30 I would try and fix it myself, but google showed nothing when just
31 searching for "exports duplicate symbol cap_vm_enough_memory."
32 any ideas?
33
34 /etc/modules.d/realtime file:
35 options realtime mlock=1 gid=18
36
37
38
39 thanks,
40 Kyle
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v1.4.2.2-ecc0.1.6 (GNU/Linux)
43 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
44
45 iD8DBQFES8KCVFIipMnXxfYRAsC+AKCGB3bPqytW9T1RCVQW+fPBg3Hg9QCghfRx
46 eusfIctjpWk/vyXGzVpBJP4=
47 =JpA0
48 -----END PGP SIGNATURE-----
49 --
50 gentoo-amd64@g.o mailing list

Replies