Farkas Levente wrote:
> hi,
> on one of our server i always got this error during boot (and
> shorewall-lite start), but not in case of restart and reload.
> what can be the reason for this?
> ------------------------------------------------------------------
> [EMAIL PROTECTED] shorewall-lite]# /etc/init.d/shorewall-lite start
> make: *** No rule to make target `/firewall', needed by
> `/var/lib/shorewall-lite/restore'.  Stop.

Please replace /etc/shorewall-lite/Makefile with the attached file and
see if the problem doesn't go away.

> ------------------------------------------------------------------
> what's more the direcotry /home/lfarkas/work/lenux/shorewall do not
> exist on the host itself just on the central server. is the above
> message normal?

Yes -- the file was copied into the compiled script and executed from there.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key
# Shorewall Lite Makefile to restart if firewall script is newer than last 
restart
VARDIR=/var/lib/shorewall-lite
SHAREDIR=/usr/share/shorewall-lite
RESTOREFILE?=.restore

all: $(VARDIR)/${RESTOREFILE}

$(VARDIR)/${RESTOREFILE}: $(VARDIR)/firewall
        @/sbin/shorewall-lite -q save >/dev/null; \
        if \
            /sbin/shorewall-lite -q restart >/dev/null 2>&1; \
        then \
            /sbin/shorewall-lite -q save >/dev/null; \
        else \
            /sbin/shorewall-lite -q restart 2>&1 | tail >&2; \
        fi

# EOF

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to