PGNd
2014-Oct-02 20:42 UTC
./install.sh for PRODUCT != shorewall fails to create shorewallrc-specified init.d DIR unless PRODUCT == shorewall is installed first
I'm doing manual installs of tarball builds
@ exec of
cd shorewall-4.6.4-Beta2-19-g205dd6e
./install.sh shorewallrc.suse
where
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}
AUXINITSOURCE AUXINITFILE SYSTEMD=${PREFIX}/etc/systemd
SERVICEFILE=${PRODUCT}.service
SYSCONFFILE=sysconfig
SYSCONFDIR=${PREFIX}/etc/sysconfig
SPARSE ANNOTATED VARLIB=/var/lib
VARDIR=${VARLIB}/${PRODUCT}-custom
console output finishes with
...
ln -s '/usr/lib/systemd/system/shorewall.service'
'/etc/systemd/system/multi-user.target.wants/shorewall.service'
Shorewall will start automatically at boot
Shorewall Version 4.6.4-Beta2-19-g205dd6e Installed
(1) how do I disable automatic .service link creation, and specifically service
*enabling* ?
(2) if it IS going to create the link, it should be a link of what's
installed by the install step,
ls -al /usr/local/shorewall-custom/etc/systemd/
total 20K
drwxr-xr-x+ 2 root root 4.0K Oct 2 13:08 ./
drwxr-xr-x+ 8 root root 4.0K Oct 2 13:08 ../
-rw-r--r--+ 1 root root 562 Oct 2 13:06 shorewall6-lite.service
-rw-r--r--+ 1 root root 553 Oct 2 13:06 shorewall-init.service
-rw-r--r--+ 1 root root 536 Oct 2 13:08 shorewall.service
i.e., in (here) from
/usr/local/shorewall-custom/etc/systemd/
not from a presumed default in
ls -al /etc/systemd/system/multi-user.target.wants/shorewall.service
lrwxrwxrwx 1 root root 41 Sep 29 15:57
/etc/systemd/system/multi-user.target.wants/shorewall.service ->
/usr/lib/systemd/system/shorewall.service
esp as that's sourced from a system rpm, not from the current build
rpm -q --whatprovides /usr/lib/systemd/system/shorewall.service
shorewall-4.6.3.4-157.1.noarch
------------------------------------------------------------------------------
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