Hi,

On 2014-10-18 23:52, Tom Eastep wrote:
>> This is not fixed. Now I'll get the following error:
>>
>>> /var/lib/shorewall/.start: line 2075: echo: write error: No such file or 
>>> directory
>>>    WARNING: Unable to set log backend to ipt_LOG
>>
>> The only change between 4.6.4.1 and 4.6.4.2:
>> Now the error is in "/var/lib/shorewall/.start" instead of
>> "/var/lib/shorewall/firewall"...
>>
>> # grep LOAD_HELPERS_ONLY /etc/shorewall/shorewall.conf
>> LOAD_HELPERS_ONLY=Yes
>>
> 
> Works here:
> 
> [...]
> 
> Do you have a stale copy of helpers in /etc/shorewall?

No:

$ ls -l /etc/shorewall/helpers
ls: cannot access /etc/shorewall/helpers: No such file or directory
$ tail -n 7 /usr/share/shorewall/helpers
#
# While not actually helpers, these are handy to have
#
loadmodule ipt_LOG
loadmodule xt_NFLOG
loadmodule ipt_ULOG
loadmodule nfnetlink_log


$ fgrep BACKEND /etc/shorewall/shorewall.conf
LOG_BACKEND=LOG
$ fgrep HELPERS /etc/shorewall/shorewall.conf
AUTOHELPERS=Yes
HELPERS=
LOAD_HELPERS_ONLY=Yes


I also inserted a "sleep 20" in "/usr/share/shorewall/Shorewall/Proc.pm"
before the "echo" command to make sure there's no timing problem (in
case the module is still loading) but this doesn't change anything.

So for me it looks like shorewall still doesn't load ipt_LOG...


When you are testing, your kernel has CONFIG_NETFILTER_XT_TARGET_LOG=m
and you are sure nothing else loaded the module on your system before
shorewall starts? Some distributions are loading every available module
on start...

Could you tell me where shorewall should load the modules? So I could
add some verbose debug output to see if this code actual runs?
I tried to add logging to loadmodules() in lib.common but it seems like
that this function won't be called.


-Thomas


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to