Re: [Fwd: Cron root@rs /sbin/rmmod -as]

1999-08-30 Thread Ben-Nes Michael

its RH6 with kernel 2.2.10
rmmod is installed but i didn't compiled module support in my kernel (i
dont like modules).

Oleg Goldshmidt wrote:

 Ben-Nes Michael [EMAIL PROTECTED] writes:

  I get this message every 10 min to my mail
  what the hack is it ?
   ^
   was this intentional? ;-)

Well its a very nice closed computer so i dont think its a hack ;-o



 snip

  From: [EMAIL PROTECTED] (Cron Daemon)
  To: [EMAIL PROTECTED]
  Subject: Cron root@rs/sbin/rmmod -as
  X-Cron-Env: SHELL=/bin/sh
  X-Cron-Env: HOME=/root
  X-Cron-Env: PATH=/usr/bin:/bin
  X-Cron-Env: LOGNAME=root
  X-Mozilla-Status2: 
 
  rmmod: Function not implemented

 Well, in case it is not obvious, it is a message from your cron daemon
 that tries ro remove all unused loadable modules from your kernel
 every 10 minutes.

 Why it doesn't work is a different question What kernel are you using?
 Have you got rmmod installed?  Is everything configured properly? Is
 it the right version [a possibility: I have two Red Hat systems in
 front of me right now, one is RH 6.0 with /sbin/rmmod installed from
 modutils-2.1.121-12, and the other is RH 4.2 with /sbin/rmmod
 installed from modules-2.0.0-5; the latter does not have -a and -s
 options implemented, so maybe you are trying to do a new operation
 with an old version of rmmod, and it reacts with this "not
 implemented" message]? E.g. have you checked that /sbin/rmmod is there
 at all (it probably is, just sanity check)? The output goes (read:
 should go) to syslog (with the -s option), so maybe you'll find more
 info there.

 --
 Oleg Goldshmidt  [EMAIL PROTECTED]
 BLOOMBERG L.P. (BFM) [EMAIL PROTECTED]
 "Life's not fair, but the root password helps." [S.Travaglia]

--
--
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-6-6925757
Fax: 972-6-6925858
http://www.canaan.co.il
--



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [Fwd: Cron root@rs /sbin/rmmod -as]

1999-08-30 Thread Stanislav Malyshev a.k.a Frodo

BNM its RH6 with kernel 2.2.10
BNM rmmod is installed but i didn't compiled module support in my kernel (i
BNM dont like modules).

bingo! rmmod won't work without module support. Get him out of the
crontab.

-- 
[EMAIL PROTECTED]  \/  There shall be counsels taken
Stanislav Malyshev  /\  Stronger than Morgul-spells
phone +972-3-9316425/\  JRRT LotR.
http://sharat.co.il/frodo/  whois:!SM8333



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [Fwd: Cron root@rs /sbin/rmmod -as]

1999-08-30 Thread Oleg Goldshmidt

"Stanislav Malyshev a.k.a Frodo" [EMAIL PROTECTED] writes:

 BNM its RH6 with kernel 2.2.10
 BNM rmmod is installed but i didn't compiled module support in my kernel (i
 BNM dont like modules).
 
 bingo! rmmod won't work without module support. Get him out of the
 crontab.

I am sure this is right, but the setup (I presume this is how the RH
distribution looks like) looks a bit strange. It is certainly a
possibility that the kernel has no modules. Then either rmmod itself
should go an look if there are any, and become a noop if there are
none. Or, if the rmmod designer decided that the functionality of
lsmod or whatever beast checks for modules should be external to
rmmod, then the docs should say so (maybe they do), and whoever write
the cron stanza (RH?) should have made it safe. Should this be brought
to the attention of RH?

-- 
Oleg Goldshmidt  [EMAIL PROTECTED]
BLOOMBERG L.P. (BFM) [EMAIL PROTECTED]
"Life's not fair, but the root password helps." [S.Travaglia]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [Fwd: Cron root@rs /sbin/rmmod -as]

1999-08-30 Thread Oleg Goldshmidt

"Stanislav Malyshev a.k.a Frodo" [EMAIL PROTECTED] writes:

 I do not get your point. If someone decides to (re-)compile kernel without
 functionality, needed for some programs, then what you expect this program
 to do? It fails with informative error message, what else do you want? If
 you compile kernel without support for some filesystem, do you expect
 mount to be "safe" on it? It would just say "I can't", and it's perfectly
 valid.

Which is why I said that it might well be a valid design decision of
the rmmod author. However, the cron stanza that was, I assume, a part
of the distribution, makes an assumption that it should not make. Not
much harm done, but it seems to me there is room for
improvement. Let's cut it here - the question was asked and answered.

-- 
Oleg Goldshmidt  [EMAIL PROTECTED]
BLOOMBERG L.P. (BFM) [EMAIL PROTECTED]
"Life's not fair, but the root password helps." [S.Travaglia]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [Fwd: Cron root@rs /sbin/rmmod -as]

1999-08-29 Thread Oleg Goldshmidt

Ben-Nes Michael [EMAIL PROTECTED] writes:

 I get this message every 10 min to my mail
 what the hack is it ?
  ^
  was this intentional? ;-)

snip

 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron root@rs/sbin/rmmod -as
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: HOME=/root
 X-Cron-Env: PATH=/usr/bin:/bin
 X-Cron-Env: LOGNAME=root
 X-Mozilla-Status2: 
 
 rmmod: Function not implemented

Well, in case it is not obvious, it is a message from your cron daemon
that tries ro remove all unused loadable modules from your kernel
every 10 minutes. 

Why it doesn't work is a different question What kernel are you using?
Have you got rmmod installed?  Is everything configured properly? Is
it the right version [a possibility: I have two Red Hat systems in
front of me right now, one is RH 6.0 with /sbin/rmmod installed from
modutils-2.1.121-12, and the other is RH 4.2 with /sbin/rmmod
installed from modules-2.0.0-5; the latter does not have -a and -s
options implemented, so maybe you are trying to do a new operation
with an old version of rmmod, and it reacts with this "not
implemented" message]? E.g. have you checked that /sbin/rmmod is there
at all (it probably is, just sanity check)? The output goes (read:
should go) to syslog (with the -s option), so maybe you'll find more
info there.

-- 
Oleg Goldshmidt  [EMAIL PROTECTED]
BLOOMBERG L.P. (BFM) [EMAIL PROTECTED]
"Life's not fair, but the root password helps." [S.Travaglia]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]