Gentoo Archives: gentoo-hardened

From: Charles Taylor <security@××××××.net>
To: gentoo-hardened@l.g.o
Subject: RE: [gentoo-hardened] Could not load modules.dep
Date: Fri, 11 May 2007 07:13:17
Message-Id: 116690.5421.qm@web35612.mail.mud.yahoo.com
In Reply to: RE: [gentoo-hardened] Could not load modules.dep by Clemente Aguiar
1 Don't mess with your scripts... Never know when it
2 will break something... As root, simply:
3
4 touch /lib/modules/kernel-hardened-2.18-r6/modules.dep
5
6 Problem solves, and no config/script file tinkering!
7
8 It's been working perfectly for me for months.
9
10 Charles
11
12 --- Clemente Aguiar
13 <clemente.aguiar@××××××××××××××××.pt> wrote:
14
15 >
16 > See below some feedback on the suggestions given:
17 >
18 > > -----Mensagem original-----
19 > > De: Igor Novgorodov [mailto:igor@××××.net]
20 > > Enviada: quinta-feira, 10 de Maio de 2007 14:10
21 > > Para: Clemente Aguiar
22 > > Assunto: Re: [gentoo-hardened] Could not load
23 > modules.dep
24 > >
25 > > > Since a while ago I have been getting a series
26 > of errors at
27 > > start-up
28 > > > on my servers, such as:
29 > >
30 > > > "FATAL: Could not load
31 > > >
32 > /lib/modules/kernel-hardened-2.18-r6/modules.dep:
33 > > > No such file or directory"
34 > >
35 > > > I configured my hardened kernels with "loadable
36 > module support"
37 > > > disabled, so I think that modules.dep could
38 > never exist.
39 > >
40 > > > First of all, I can see these messages "fly" by
41 > the console at
42 > > > start-up, but it seems that they are not logged
43 > (I can't find them
44 > > > anywhere). Shouldn't they get logged somewhere?
45 > > You can try setting RC_BOOTLOG="yes" in
46 > /etc/conf.d/rc
47 > > Messages will be logged to /var/log/boot.msg
48 >
49 > I did as suggested and emerged
50 > "app-admin/showconsole" as well (it is a
51 > requirement for this to work), and most boot
52 > messages where logged in
53 > /varlog/boot.msg, but not all, and the ones I
54 > mentioned where NOT
55 > logged.
56 >
57 >
58 >
59 > > > Second, how can I get rid of the messages
60 > altogether?
61 > > Just do "rc-update del modules" to remove module
62 > init script
63 > > from startup
64 > >
65 >
66 > I did as you suggested, but when I rebooted, a
67 > warning was issued and
68 > "modules" init script was automatically added back
69 > to "boot".
70 >
71 > Any other suggestions?
72 >
73 > Clemente
74 > --
75 > gentoo-hardened@g.o mailing list
76 >
77 >
78
79 --
80 gentoo-hardened@g.o mailing list

Replies

Subject Author
RE: [gentoo-hardened] Could not load modules.dep Darren Smith <dsmith@××××××××××××.ca>