Hi !

This was my first idea, too. However:

11:55 linux-srv:~ > locate iptables-restore
/usr/sbin/iptables-restore


11:55 linux-srv:/usr/sbin # ls -la | grep iptables
-rwxr-xr-x  1 root root       47920 2007-08-21 20:06 iptables
-rwxr-xr-x  1 root root       52184 2007-08-21 20:06 iptables-restore
-rwxr-xr-x  1 root root       52148 2007-08-21 20:06 iptables-save
-rwxr-xr-x  1 root root       14272 2007-08-21 20:06 iptables-xml

In Shorewall.conf - 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin

After I set
IPTABLES=/usr/sbin/iptables

Everything worked fine.

Anyway, I suppose there is some glitch because other iptables executables are 
found without any problem.


> Shorewall is finding /sbin/iptables (either via PATH or via the IPTABLES
> setting in shorewall.conf) but /sbin/iptables-restore does not exist or
> is not executable.

> Andrei Verovski (aka MacGuru) wrote:
> > Hi !
> >
> > I have Shorewall 4.03 on SuSE 10.2, working with shell compiler for quite
> > long time. Just now I have switched to perl compiler (without changing
> > anything except "SHOREWALL_COMPILER=perl") and got the following error:
> >
> > Shorewall configuration compiled to /var/lib/shorewall/.restart
> >    ERROR: /sbin/iptables-restore does not exist or is not executable
> > /sbin/shorewall: line 658: 14967 Terminated              $SHOREWALL_SHELL
> > ${VARDIR}/.restart $debugging restart
> >
> > Quite strange, since "shorewall check" returns OK status.
> >
> > Any idea what went wrong?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to