2004-02-14 19:06:39 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2008-07-07 22:22:09 +02:00
|
|
|
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
|
2004-02-14 19:06:39 +01:00
|
|
|
<article>
|
|
|
|
<!--$Id$-->
|
|
|
|
|
|
|
|
<articleinfo>
|
|
|
|
<title>Fallback and Uninstall</title>
|
|
|
|
|
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<firstname>Tom</firstname>
|
|
|
|
|
|
|
|
<surname>Eastep</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
|
2006-07-07 03:04:16 +02:00
|
|
|
<pubdate><?dbtimestamp format="Y/m/d"?></pubdate>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<copyright>
|
2005-09-17 08:26:55 +02:00
|
|
|
<year>2001-2005</year>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<holder>Thomas M. Eastep</holder>
|
|
|
|
</copyright>
|
|
|
|
|
|
|
|
<legalnotice>
|
|
|
|
<para>Permission is granted to copy, distribute and/or modify this
|
|
|
|
document under the terms of the GNU Free Documentation License, Version
|
|
|
|
1.2 or any later version published by the Free Software Foundation; with
|
|
|
|
no Invariant Sections, with no Front-Cover, and with no Back-Cover
|
|
|
|
Texts. A copy of the license is included in the section entitled
|
2005-09-17 08:26:55 +02:00
|
|
|
<quote><ulink url="GnuCopyright.htm">GNU Free Documentation
|
|
|
|
License</ulink></quote>.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</legalnotice>
|
|
|
|
</articleinfo>
|
|
|
|
|
2007-06-28 17:40:13 +02:00
|
|
|
<section id="Tarball">
|
2004-02-14 19:06:39 +01:00
|
|
|
<title>Falling Back to the Previous Version of Shorewall using the
|
|
|
|
Fallback Script</title>
|
|
|
|
|
2005-09-17 08:26:55 +02:00
|
|
|
<para>If you install Shorewall and discover that it doesn't work for you,
|
|
|
|
you can fall back to your previously installed version. To do that:</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2007-06-23 19:08:26 +02:00
|
|
|
<para>cd to the distribution directory for the version of Shoreline
|
2004-02-14 19:06:39 +01:00
|
|
|
Firewall that you are currently running (NOT the version that you want
|
|
|
|
to fall back to).</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>Type <quote>./fallback.sh</quote></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<caution>
|
2006-10-29 16:22:09 +01:00
|
|
|
<para>The fallback script will replace /etc/shorewall[-lite]/*,
|
|
|
|
/var/lib/shorewall[-lite]/*, /etc/init.d/shorewall[-lilte]] (or
|
|
|
|
equivalent), and /sbin/shorewall[-lite] with the version of these files
|
|
|
|
from before the current version was installed. Any changes to any of
|
|
|
|
these files made since the installation will be lost.</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</caution>
|
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:40:13 +02:00
|
|
|
<section id="RPM">
|
2004-02-14 19:06:39 +01:00
|
|
|
<title>Falling Back to the Previous Version of Shorewall using rpm</title>
|
|
|
|
|
|
|
|
<para>If your previous version of Shorewall was installed using RPM, you
|
2005-09-17 08:26:55 +02:00
|
|
|
may fall back to that version by typing <quote>rpm -Uvh --force <old
|
|
|
|
rpm></quote> at a root shell prompt (Example: <quote>rpm -Uvh --force
|
|
|
|
/downloads/shorewall-3.1.1-0.noarch.rpm</quote> would fall back to the
|
|
|
|
3.1.1-0 version of Shorewall).</para>
|
2004-02-14 19:06:39 +01:00
|
|
|
</section>
|
|
|
|
|
2007-06-28 17:40:13 +02:00
|
|
|
<section id="Uninstall">
|
2004-02-14 19:06:39 +01:00
|
|
|
<title>Uninstalling Shorewall</title>
|
|
|
|
|
|
|
|
<para>If you no longer wish to use Shorewall, you may remove it by:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>cd to the distribution directory for the version of Shorewall
|
|
|
|
that you have installed.</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>type <quote>./uninstall.sh</quote></para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>If you installed using an rpm, at a root shell prompt type
|
|
|
|
<quote>rpm -e shorewall</quote>.</para>
|
|
|
|
</section>
|
2007-06-23 19:08:26 +02:00
|
|
|
|
2007-06-28 17:40:13 +02:00
|
|
|
<section id="Shell-Perl">
|
2007-06-23 19:08:26 +02:00
|
|
|
<title>Shorewall-shell and Shorewall-perl</title>
|
|
|
|
|
2008-08-15 07:03:24 +02:00
|
|
|
<para>Shorewall-shell and Shorewall-perl have no configuration files and
|
2007-06-23 19:08:26 +02:00
|
|
|
all of their released files are installed in a single directory. To
|
|
|
|
fallback to a prior release of one of these products using the tarballs,
|
2007-06-28 17:40:13 +02:00
|
|
|
simple re-install the older version.</para>
|
2007-06-23 19:08:26 +02:00
|
|
|
|
2008-08-15 07:03:24 +02:00
|
|
|
<para>To uninstall these products when they have been installed using the
|
2007-06-23 19:08:26 +02:00
|
|
|
tarballs:</para>
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<para>rm -rf /usr/share/shorewall-shell</para>
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
<listitem>
|
|
|
|
<para>rm -rf /usr/share/shorewall-perl</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</section>
|
2008-07-04 17:11:51 +02:00
|
|
|
</article>
|