|
From: Thomas B. <tho...@in...> - 2012-04-27 11:53:22
|
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFCC" text="#000000">
<br>
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 -<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:root@missi:/data/patches/shorewall-4.5.2#">root@missi:/data/patches/shorewall-4.5.2#</a> ./install.sh
shorewallrc.slackware<br>
Perl/compiler.pl syntax OK<br>
Installing Slackware-specific configuration...<br>
Installing Shorewall Version 4.5.2<br>
shorewall control program installed in /sbin/shorewall<br>
install: cannot stat `init.slackware.firewall': No such file or
directory<br>
<br>
ERROR: Failed to install -T -o root -g root -m 0544
init.slackware.firewall /etc/rc.d/rc.firewall<br>
<br>
<br>
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 -<br>
<br>
Here is the .shorewallrc file that works -<br>
<br>
#<br>
# Slackware Shorewall 4.5 rc file<br>
#<br>
BUILD=slackware<br>
HOST=slackware<br>
PREFIX=/usr #Top-level directory for shared files, libraries, etc.<br>
SHAREDIR=${PREFIX}/share #Directory for arch-neutral files.<br>
LIBEXECDIR=${PREFIX}/share #Directory for executable scripts.<br>
PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall
Perl module directory<br>
CONFDIR=/etc #Directory where subsystem configurations are installed<br>
SBINDIR=/sbin #Directory where system administration programs are
installed<br>
MANDIR=${PREFIX}/man #Directory where manpages are installed.<br>
INITDIR=/etc/rc.d #Directory where SysV init scripts are installed.<br>
INITSOURCE=init.slackware.shorewall.sh # THIS IS THE FIXED FILE
ENTRY
------------------------------------------------------<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Look here<br>
INITFILE=rc.firewall #Name of the product's installed SysV init
script<br>
AUXINITSOURCE=init.slackware.$PRODUCT #Name of the distributed file
to be installed as a second SysV init script<br>
AUXINITFILE=rc.$PRODUCT #Name of the product's installed second init
script<br>
SYSTEMD= #Name of the directory where .service files are installed
(systems running systemd only)<br>
SYSCONFFILE= #Name of the distributed file to be installed in
$SYSCONFDIR<br>
SYSCONFDIR= #Name of the directory where SysV init parameter files
are installed.<br>
ANNOTATED= #If non-empty, install annotated configuration files<br>
VARDIR=/var/lib #Directory where product variable data is stored.<br>
<br>
<br>
Note the reference to "init.slackware.firewall" because it never
existed. This .shorewallrc file installs Shorewall-4-5.2.x just
fine.<br>
<br>
regards,<br>
<br>
Tom<br>
</body>
</html>
|