On 4/2/2015 6:24 AM, matt darfeuille wrote:
> Hi,
>
> While uninstalling shorewall6-4.6.7 and shorewall-core-4.6.7 I get
> the following warning respectively:
>
> WARNING: Shorewall6 Version 4.6.7 is not installed
> Uninstalling shorewall6
> Shorewall6 Uninstalled
> Uninstalling shorewall 4.6.7
> Shorewall Uninstalled
> WARNING: Shorewall Core Version 4.6.7 is not installed
> Uninstalling Shorewall Core
> Shorewall Core Uninstalled
>
> The warning for shorewall6-4.6.7 is triggerd by the line 139 due to
> the missing "E" in the variable name ${SHAREDIR}.
>
> For uninstalling shorewall* my assumption is as follows:
> First uninstalling shorewall[6]-init; then shorewall[6]-lite or
> shorewall[6]-4.6.7 and then shorewall-core.
>
> Based on that assumption, the warning triggered by shorewall-core is
> caused by shorewall-4.6.7 on line 200 which removes the directory
> $LIBEXECDIR/shorewall where it should only be "rmed" when $LIBEXECDIR
> has not the same path as $SHAREDIR.
> Adding at the start of the line:
> [ ${LIBEXECDIR} = ${SHAREDIR} ] || rm ...
> makes the warning disappear.
>
> Modified scripts attached.Thanks Matt -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
