[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



"Stanislav Malyshev a.k.a Frodo" <frodo@sharat.co.il> 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          goldshmt@netvision.net.il
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il
"Life's not fair, but the root password helps." [S.Travaglia]

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il