I think I managed to work around the issue, although I think kmod should
of course return a more descriptive (error) message when a module is not
found.
Since I don't have a system with kmod here I can't test the fix. If you
like you can grab the latest nightly from
http://rocky.eld.leidenuniv.nl/arno-iptables-firewall/arno-iptables-firewall_nightly.tar.gz
and report back.
cheers,
Arno
On 09-Aug-12 21:57, Wojciech Kusiak wrote:
Package: arno-iptables-firewall
Version: 2.0.1.c-1
Severity: minor
Hello.
The modprobe() and modprobe_multi() functions inside
/usr/share/arno-iptables-firewall/environment contain this check:
if ! echo "$result" |grep -q -e "Module .* not found" -e "Can't locate module";
if it matches, either the "Assuming compiled-in" message, or nothing
(depending on config switch setting) is printed.
All other messages trigger a red ERROR printout.
Except, this check works only with "old" modprobe which printed that message.
Kmod when called through modprobe symlink just returns 1 with no error message
when the module is missing.
Well, at least that's what happens on the monolithic module-less Linode kernel.
Thus, whenever I reload the firewall I get a screenful of red
/sbin/modprobe <module name here>
ERROR (1):
messages, without anything after the colon (as kmod didn't print a thing)
To emphasize, this bypasses the $COMPILED_IN_KERNEL_MESSAGES check.
This false error prints in any case.
Kmod version 8-2, current from testing. If you consider this "silent" return
of 1 to be a bug in kmod, please reassign this bug.
Best regards,
-- Wojciech
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.4.2-linode44 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages arno-iptables-firewall depends on:
ii debconf [debconf-2.0] 1.5.44
ii gawk 1:4.0.1+dfsg-2
ii iproute 20120521-3
ii iptables 1.4.14-3
Versions of packages arno-iptables-firewall recommends:
ii curl 7.26.0-1
ii dnsutils 1:9.8.1.dfsg.P1-4.2
ii rsyslog 5.8.11-1+b1
arno-iptables-firewall suggests no packages.
-- debconf information excluded
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org