1 |
On Wednesday 03 April 2013 17.10:15 Alan McKinnon wrote: |
2 |
> On 03/04/2013 14:54, Tanstaafl wrote: |
3 |
> > Ok, I am prepping for the udev update this weekend, getting everything |
4 |
> > updated that doesn't pull in the udev updates. |
5 |
> > |
6 |
> > First thing I did was to eliminate the module-init-tools<>kmod Blocker: |
7 |
> > |
8 |
> > emerge -C module-init-tools %% emerge kmod |
9 |
> > |
10 |
> > and noted the following warnings/errors: |
11 |
> > |
12 |
> > Checking for suitable kernel configuration options... |
13 |
> > ERROR: setup |
14 |
> > CONFIG_MODULES: is not set when it should be. |
15 |
> > CONFIG_MODULE_UNLOAD: is not set when it should be. |
16 |
> > |
17 |
> > This is a server, and I do not WANT loadable modules enabled... |
18 |
> > |
19 |
> > So, how do I get rid of this warning/error? Or is this nothing to be |
20 |
> > concerned about if I do not want/need loadable modules? |
21 |
> > |
22 |
> > Thanks |
23 |
> > |
24 |
> |
25 |
> |
26 |
> The warning makes sense and is correct. kmod is a set of tools to |
27 |
> manipulate kernel modules. It's pointless having it if the kernel does |
28 |
> not use modules. Therefore, the error check exists. |
29 |
> |
30 |
> Furthermore, |
31 |
> |
32 |
> $ equery depends kmod |
33 |
> * These packages depend on kmod: |
34 |
> sys-fs/udev-200 (kmod ? >=sys-apps/kmod-12) |
35 |
> virtual/modutils-0 (sys-apps/kmod[tools]) |
36 |
> |
37 |
> |
38 |
> $ equery depends virtual/modutils |
39 |
> * These packages depend on virtual/modutils: |
40 |
> app-emulation/virtualbox-modules-4.2.10 (kernel_linux ?virtual/modutils) |
41 |
> app-emulation/vmware-modules-271.2 (kernel_linux ? virtual/modutils) |
42 |
> sys-apps/rescan-scsi-bus-1.56 (virtual/modutils) |
43 |
> |
44 |
> $ equery depends rescan-scsi-bus |
45 |
> * These packages depend on rescan-scsi-bus: |
46 |
> sys-apps/sg3_utils-1.35 (>=sys-apps/rescan-scsi-bus-1.24) |
47 |
> |
48 |
> |
49 |
> $ equery depends sg3_utils |
50 |
> * These packages depend on sg3_utils: |
51 |
> media-libs/libgpod-0.8.2 (sys-apps/sg3_utils) |
52 |
> sys-apps/rescan-scsi-bus-1.56 (>=sys-apps/sg3_utils-1.24) |
53 |
> sys-fs/udisks-1.0.4-r5 (>=sys-apps/sg3_utils-1.27.20090411) |
54 |
> |
55 |
> |
56 |
> It's hard to escape those hard masks. Do these steps: |
57 |
> |
58 |
> 1. File a bug, this behaviour is overly constrictive |
59 |
> 2. Copy kmod to your local overlay and delete the kernel modules check |
60 |
> 3. USE="-kmod" |
61 |
|
62 |
I am having exactly the same issue, server with module-less kernel, USE=-kmod set, but portage still wants to pull in virtual/modutils and sys-apps/kmod (and I have nothing "depending" on either of those two). |
63 |
At the moment I am looking into mdev instead of udev for these servers. |
64 |
If you open a bug please post the bug# here. |
65 |
|
66 |
-- |
67 |
Dan Johansson, <http://www.dmj.nu> |
68 |
*************************************************** |
69 |
This message is printed on 100% recycled electrons! |
70 |
*************************************************** |