Unfortunately it doesn't seem that when a shorewall-lite restore fails due to ipsets being present, that shorewall-lite exits with an error:
# /usr/sbin/shorewall-lite restore Restoring Shorewall Lite... Initializing... Processing init user exit ... Creating any undefined ipsets...ipset v6.24: Element cannot be added to the set: it's already added ERROR: Cannot restore /etc/shorewall-lite/state/restore-ipsets with Shorewall running: Firewall state not changed Terminated # echo $? 0 I guess the exit status of the 'restore' script in startup_error() is not be propagated up to the main command. Cheers, b.
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
