On 10/2/2014 4:08 PM, PGNd wrote:
> On Thu, Oct 2, 2014, at 03:58 PM, Tom Eastep wrote:
>> What are you attempting to accomplish with this bizarre configuration?
> 
> "bizarre" is subjective.

True.

> 
> Generally, putting things where I want them to be -- using the config options 
> that are provided.
> 
> Specifically, sandboxing multiple installs.  "Everything" installed under a 
> selected $PREFIX.

The install system is not designed to be able to have multiple runnable
installations on a single system. You can have multiple inert
installations by simply running install.sh as:

        DESTDIR=/dir/where/I/want/everything ./install.sh

All paths set in shorewallrc are simply appended to $DESTDIR.

Let's look at your file:

>>      cat shorewallrc.suse
>>              ...
>>              HOST=suse
>>              PREFIX=/usr/local/shorewall-custom
>>              SHAREDIR=${PREFIX}/share
>>              LIBEXECDIR=${PREFIX}/lib
>>              PERLLIBDIR=${PREFIX}/lib/perl5
>>              CONFDIR=${PREFIX}/etc
>>              SBINDIR=${PREFIX}/usr/sbin
>>              MANDIR=${PREFIX}/man/
>>              INITDIR=${PREFIX}/etc/init.d
>>              INITSOURCE=init.suse.sh
>>              INITFILE=${PRODUCT}

Don't specify both INITFILE and SYSTEMD. There is no need to install the
sysV init file if systemd is in use.

>>              AUXINITSOURCE=
>>              AUXINITFILE=
>>              SYSTEMD=${PREFIX}/etc/systemd

The SYSTEMD variable names the directory where *systemd* expects to find
its .service files.

>>              SERVICEFILE=${PRODUCT}.service
>>              SYSCONFFILE=sysconfig
>>              SYSCONFDIR=${PREFIX}/etc/sysconfig
>>              SPARSE=
>>              ANNOTATED=
>>              VARLIB=/var/lib
>>              VARDIR=${VARLIB}/${PRODUCT}-custom

That won't work with Shorewall-init. If you set VARDIR to anything but
/VARLIB/$PRODUCT then Shorewall-init won't work.

>>
> 
> In any case, NOT having SW's install scripts
> 
>   (1) fail
>   (2) install the wrong thing in the wrong place.
>   (3) make automated presumptions (e.g. enabling a service) that can't be 
> overridden

Your two emails were identical except for the subject, so I only know
about the third issue.

-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 \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to