Gentoo Archives: gentoo-hardened

From: Darren Smith <dsmith@××××××××××××.ca>
To: gentoo-hardened@l.g.o
Subject: RE: [gentoo-hardened] Could not load modules.dep
Date: Tue, 15 May 2007 14:15:13
Message-Id: 006401c796fa$f22cc840$d68658c0$@ocad.ca
In Reply to: RE: [gentoo-hardened] Could not load modules.dep by Charles Taylor
1 We were getting similar messages on a recently built machine including a
2 "FATAL: Could not load System.Map: Missing....." right after a message
3 about loading modules.dep. Didn't seem to affect proper function at all,
4 but any error is bothersome to me, so...
5
6 This was fully resolved by the following set of commands:
7
8 # env-update && source /etc/profile
9 # modules-update
10 # reboot
11
12 Not sure if this issue is entirely similar... seems related though.
13
14 -D
15
16 > -----Original Message-----
17 > From: Charles Taylor [mailto:security@××××××.net]
18 > Sent: May 11, 2007 3:11 AM
19 > To: gentoo-hardened@l.g.o
20 > Subject: RE: [gentoo-hardened] Could not load modules.dep
21 >
22 > Don't mess with your scripts... Never know when it
23 > will break something... As root, simply:
24 >
25 > touch /lib/modules/kernel-hardened-2.18-r6/modules.dep
26 >
27 > Problem solves, and no config/script file tinkering!
28 >
29 > It's been working perfectly for me for months.
30 >
31 > Charles
32 >
33 > --- Clemente Aguiar
34 > <clemente.aguiar@××××××××××××××××.pt> wrote:
35 >
36 > >
37 > > See below some feedback on the suggestions given:
38 > >
39 > > > -----Mensagem original-----
40 > > > De: Igor Novgorodov [mailto:igor@××××.net]
41 > > > Enviada: quinta-feira, 10 de Maio de 2007 14:10
42 > > > Para: Clemente Aguiar
43 > > > Assunto: Re: [gentoo-hardened] Could not load
44 > > modules.dep
45 > > >
46 > > > > Since a while ago I have been getting a series
47 > > of errors at
48 > > > start-up
49 > > > > on my servers, such as:
50 > > >
51 > > > > "FATAL: Could not load
52 > > > >
53 > > /lib/modules/kernel-hardened-2.18-r6/modules.dep:
54 > > > > No such file or directory"
55 > > >
56 > > > > I configured my hardened kernels with "loadable
57 > > module support"
58 > > > > disabled, so I think that modules.dep could
59 > > never exist.
60 > > >
61 > > > > First of all, I can see these messages "fly" by
62 > > the console at
63 > > > > start-up, but it seems that they are not logged
64 > > (I can't find them
65 > > > > anywhere). Shouldn't they get logged somewhere?
66 > > > You can try setting RC_BOOTLOG="yes" in
67 > > /etc/conf.d/rc
68 > > > Messages will be logged to /var/log/boot.msg
69 > >
70 > > I did as suggested and emerged
71 > > "app-admin/showconsole" as well (it is a
72 > > requirement for this to work), and most boot
73 > > messages where logged in
74 > > /varlog/boot.msg, but not all, and the ones I
75 > > mentioned where NOT
76 > > logged.
77 > >
78 > >
79 > >
80 > > > > Second, how can I get rid of the messages
81 > > altogether?
82 > > > Just do "rc-update del modules" to remove module
83 > > init script
84 > > > from startup
85 > > >
86 > >
87 > > I did as you suggested, but when I rebooted, a
88 > > warning was issued and
89 > > "modules" init script was automatically added back
90 > > to "boot".
91 > >
92 > > Any other suggestions?
93 > >
94 > > Clemente
95 > > --
96 > > gentoo-hardened@g.o mailing list
97 > >
98 > >
99 >
100 > --
101 > gentoo-hardened@g.o mailing list
102
103 --
104 gentoo-hardened@g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Could not load modules.dep Asaf Gery <asaf.gery@×××××.com>