Fix PATH problems with compiled script

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3820 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-04-27 16:45:08 +00:00
parent 6231b26d62
commit 40c6142233
3 changed files with 16 additions and 38 deletions

View File

@ -1,3 +1,7 @@
Changes in 3.2.0 Beta 6
1) Fix tc "notfound" errors when 'restart' is run out of ip-up.local.
Changes in 3.2.0 Beta 5 Changes in 3.2.0 Beta 5
1) Fix compilation problem on LEAF Bering. 1) Fix compilation problem on LEAF Bering.

View File

@ -8767,6 +8767,7 @@ __EOF__
VERSION="$VERSION" VERSION="$VERSION"
CONFIG_PATH="$CONFIG_PATH" CONFIG_PATH="$CONFIG_PATH"
SUBSYSLOCK="$SUBSYSLOCK" SUBSYSLOCK="$SUBSYSLOCK"
PATH="$PATH"
TERMINATOR=fatal_error TERMINATOR=fatal_error
__EOF__ __EOF__

View File

@ -1,4 +1,4 @@
Shorewall 3.2.0 Beta 5 Shorewall 3.2.0 Beta 6
Note to users upgrading from Shorewall 2.x or 3.0 Note to users upgrading from Shorewall 2.x or 3.0
@ -27,46 +27,15 @@ Note to users upgrading from Shorewall 2.x or 3.0
Please see the "Migration Considerations" below for additional upgrade Please see the "Migration Considerations" below for additional upgrade
information. information.
Problems Corrected in 3.2.0 Beta 5 Problems Corrected in 3.2.0 Beta 6
1) On systems such as LEAF Bering that either don't have the 'mktemp' utility 1) Previously, if 'shorewall restart' was done out of an ip-up.local
or whose 'mktemp' cannot create a temporary directory, firewall compilation script, some of the utilities like 'tc' and 'ip6tables' were not
failed with the message: on the PATH.
ERROR: No Interfaces Defined Other changes in 3.2.0 Beta 6
after a shell error message indicating that the stripped interfaces NOne.
file in /tmp/shorewall-NNNN/ couldn't be opened.
2) With DETECT_DNAT_IPADDRS=No in shorewall.conf, DNAT rules didn't work.
3) Previously, if your kernel did not supply the mangle table FORWARD chain
then "shorewall [re]start" would fail.
4) Regardless of the setting of ADD_SNAT_IPADDRS, Shorewall will delete
the ADDRESS in an SNAT rule (/etc/shorewall/masq) during [re]start.
5) Previously, if your kernel did not supply the mangle table FORWARD chain
then "shorewall [re]start" would fail. Now, if your mangle table does
not supply this chain, Shorewall will avoid using either that chain or
the mangle table POSTROUTING chain. This change is strictly to stop Shorewall
from blowing up during [re]start on very old kernels (such as 2.4.17
running on a PS2); if your kernel does not support these chains and you
try to mark packets in either of them using entries in
/etc/shorewall/tcrules, [re]start will fail.
6) When install.sh is used to install on a Debian or Ubuntu system, the
SUBSYSLOCK option in shorewall.conf was not being cleared.
It will now be cleared, provided that Perl is installed on the system.
Other changes in 3.2.0 Beta 5
1) The "shorewall refresh" command no longer refreshes traffic shaping.
Use "shorewall restart" instead if you need to reprocess the
tcrules, tcdevices and tcclasses files.
2) Per a suggestion by Steve Heber, the rtrules file has been renamed
route_rules.
Migration Considerations: Migration Considerations:
@ -157,6 +126,10 @@ Migration Considerations:
In no case is it possible to continue a quoted string over multiple lines In no case is it possible to continue a quoted string over multiple lines
without having additional whitespace inserted into the string. without having additional whitespace inserted into the string.
6) The "shorewall refresh" command no longer refreshes traffic shaping.
Use "shorewall restart" instead if you need to reprocess the
tcrules, tcdevices and tcclasses files.
New Features: New Features:
1) Shorewall has always been very noisy (lots of messages). No longer. 1) Shorewall has always been very noisy (lots of messages). No longer.