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/
Hi Thomas, I am currently working on the slackbuild for the new 4.5 series which will be available on slackbuilds.org (where the 4.4 have been made available). I was waiting for thing to settle a bit but was also thinking of waiting for the new slackware to come out before releasing the 4.5 version as it is a major change in the way the packages are organised. I will make them available through github if I don't release them for 13.37. Cheers Greg On 27 April 2012 12:38, Thomas Brown <thomas.brown@intergga.ch> wrote:> > 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 > Shorewall-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-devel >------------------------------------------------------------------------------ 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 Shorewall-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-devel
On 4/27/12 8:27 AM, Greg'' Ar Tourter wrote:> Hi Thomas, > > I am currently working on the slackbuild for the new 4.5 series which > will be available on slackbuilds.org (where the 4.4 have been made > available). I was waiting for thing to settle a bit but was also > thinking of waiting for the new slackware to come out before releasing > the 4.5 version as it is a major change in the way the packages are > organised. I will make them available through github if I don''t > release them for 13.37.Hi Greg and Thomas, Thomas''s change will allow Shorewall to install and work but is not a complete solution because it ignores Shorewall6. I believe that the attached patch is the correct fix. -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 \________________________________________________ ------------------------------------------------------------------------------ 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/
Thanks for the patch Tom. I had missed a bit. Works a treat On 04/27/2012 06:06 PM, Tom Eastep wrote: On 4/27/12 8:27 AM, Greg'' Ar Tourter wrote: Hi Thomas, I am currently working on the slackbuild for the new 4.5 series which will be available on slackbuilds.org (where the 4.4 have been made available). I was waiting for thing to settle a bit but was also thinking of waiting for the new slackware to come out before releasing the 4.5 version as it is a major change in the way the packages are organised. I will make them available through github if I don''t release them for 13.37. Hi Greg and Thomas, Thomas''s change will allow Shorewall to install and work but is not a complete solution because it ignores Shorewall6. I believe that the attached patch is the correct fix. -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 Shorewall-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-devel ------------------------------------------------------------------------------ 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/
On 4/27/12 10:57 AM, Thomas Brown wrote:> Thanks for the patch Tom. I had missed a bit. Works a treatThanks for confirming, Thomas -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 \________________________________________________ ------------------------------------------------------------------------------ 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/