I'm running Slackware64-current and had trouble installing Shorewall-4.5.2.x.  The corresponding Shorewall-Core-4.5.2.x installs without a problem but shorewall-4.5.2.x itself would always give me the following error -

root@missi:/data/patches/shorewall-4.5.2# ./install.sh shorewallrc.slackware
Perl/compiler.pl syntax OK
Installing Slackware-specific configuration...
Installing Shorewall Version 4.5.2
shorewall control program installed in /sbin/shorewall
install: cannot stat `init.slackware.firewall': No such file or directory

ERROR: Failed to install -T -o root -g root -m 0544 init.slackware.firewall /etc/rc.d/rc.firewall


After a lot of digging I discovered that the shorewall-core-4.5.2.x installs an incorrect .shorewallrc file in /root.  I modified it and now it installs fine -

Here is the .shorewallrc file that works -

#
# Slackware Shorewall 4.5 rc file
#
BUILD=slackware
HOST=slackware
PREFIX=/usr #Top-level directory for shared files, libraries, etc.
SHAREDIR=${PREFIX}/share #Directory for arch-neutral files.
LIBEXECDIR=${PREFIX}/share #Directory for executable scripts.
PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory
CONFDIR=/etc #Directory where subsystem configurations are installed
SBINDIR=/sbin #Directory where system administration programs are installed
MANDIR=${PREFIX}/man #Directory where manpages are installed.
INITDIR=/etc/rc.d #Directory where SysV init scripts are installed.
INITSOURCE=init.slackware.shorewall.sh # THIS IS THE FIXED FILE ENTRY  ------------------------------------------------------<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Look here
INITFILE=rc.firewall #Name of the product's installed SysV init script
AUXINITSOURCE=init.slackware.$PRODUCT #Name of the distributed file to be installed as a second SysV init script
AUXINITFILE=rc.$PRODUCT #Name of the product's installed second init script
SYSTEMD= #Name of the directory where .service files are installed (systems running systemd only)
SYSCONFFILE= #Name of the distributed file to be installed in $SYSCONFDIR
SYSCONFDIR= #Name of the directory where SysV init parameter files are installed.
ANNOTATED= #If non-empty, install annotated configuration files
VARDIR=/var/lib #Directory where product variable data is stored.


Note the reference to "init.slackware.firewall" because it never existed.  This .shorewallrc file installs Shorewall-4-5.2.x just fine.

regards,

Tom
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to