From 70690de951ead1bc3a747ccd19b8d289c00d331b Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 3 Jul 2007 17:13:14 +0000 Subject: [PATCH] Documentation and typo fixes git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6765 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 4 ++-- docs/upgrade_issues.xml | 17 ++++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index 5dc052e9e..b56592962 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1951,13 +1951,13 @@ sub create_netfilter_load() { emit_unindented '__EOF__' unless $state == CMD_STATE; emit ''; # - # Now generate the actual iptabes-restore command + # Now generate the actual iptables-restore command # emitj( 'exec 3>&-', '', 'progress_message2 "Running iptables-restore..."', '', - 'cat ${VARDIR}/.iptables-restore-input | $IPTABLES_RESTORE' + 'cat ${VARDIR}/.iptables-restore-input | $IPTABLES_RESTORE # Use this nonsensical form to appease SELinux' ); emitj( 'if [ $? != 0 ]; then', diff --git a/docs/upgrade_issues.xml b/docs/upgrade_issues.xml index f64a02f3c..833599a94 100644 --- a/docs/upgrade_issues.xml +++ b/docs/upgrade_issues.xml @@ -90,8 +90,9 @@ error: Failed dependencies: shorewall_compiler is needed by shorewall-common-4.0.0-1.noarch gateway:~ #You must either:rpm -Uvh shorewall-shell-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpmorrpm -Uvh shorewall-shell-4.0.0.noarch.rpm shorewall-perl-4.0.0.noarch.rpm shorewall-common-4.0.0.noarch.rpmIf - you don't want shorewall-shell, use the second command - thenrpm -e shorewall-shellIf + you don't want shorewall-shell, you must use the second command + (installing both shorewall-shell and shorewall-perl) then remove + shorewall-shell using this command:rpm -e shorewall-shellIf you are upgrading using the tarball, you must install shorewall-shell and/or shorewall-perl before you upgrade using shorewall-common. Otherwise, the install.sh script fails with: @@ -104,9 +105,10 @@ gateway:~ #You must either:rpm -Uvh sh continue to use the shorewall-shell compiler.tar -jxf shorewall-common-4.0.0.tar.bz2 tar -jxf shorewall-shell-4.0.0.tar.bz2 -cd shorewall-shell-4.0.0 +pushd shorewall-shell-4.0.0 ./install.sh -cd ../shorewall-common-4.0.0 +popd +pushd shorewall-common-4.0.0 ./install.sh shorewall check shorewall restartExample 2: You have shorewall @@ -114,9 +116,10 @@ shorewall restartExample 2: You have shorewall to 4.0. You do not need the shell-based compiler.tar -jxf shorewall-common-4.0.0.tar.bz2 tar -jxf shorewall-perl-4.0.0.tar.bz2 -cd shorewall-perl-4.0.0 +pushd shorewall-perl-4.0.0 ./install.sh -cd ../shorewall-common-4.0.0 +popd +pushd /shorewall-common-4.0.0 ./install.sh shorewall check shorewall restart The RPMs are set up so that if @@ -138,7 +141,7 @@ shorewall restart The RPMs are set up so that if The option is now the default for ipsec - tunnels. Tunnels that use AH (protocol 51) must specify the + tunnels. Tunnels that use AH (protocol 51) must specify in the TYPE column.