lkml.org 
[lkml]   [2004]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] misleading error message
    On Tue, Nov 30, 2004 at 11:29:20PM +0100, Jesper Juhl wrote:
    > On Tue, 30 Nov 2004, Jan Engelhardt wrote:
    >
    > > >> This may be a BUG REPORT, as I see it, allthough more experienced Linux users
    > > >> might think differently:
    > > >>
    > > >> I compiled built-in support for iptables in my new 2.6.9 kernel, but when my
    > > >> legacy firewall does a "modprobe ip_tables" , I get the startling message:
    > > >> "FATAL: module ip_tables not found" .
    > > >
    > > >In my oppinion the message is perfectly clear. You told modprobe to load a
    > > >module, the file was not found so it is forced to give up - and that's
    > > >exactely what it told you.
    > >
    > > So how would you go about finding out whether something is compiled-in?
    > >
    > Personally I'd just go check my kernels .config

    Or adjust your (broken) firewall script to do something like:

    [ -f /proc/net/ip_tables_names ] || modprobe ip_tables

    Phil

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.018 / U:357.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site