On 10/25/2013 2:28 AM, Brian Burch wrote: > Thanks Tom. > > Sorry about my confusion between core and init, but even now I'm not > entirely clear what is going on during my installation process. > > I run the recommended sequence: core/configure, core/install, > shorewall-4/install, shorewall-init/install. > > 1. the source for configure is identical in all three bz2's > 2. configure (I think) creates ./shorewallrc in the current directory. > 3. configure does not create or update ~/.shorewallrc
shorewall-core install.sh does that. Note that there was a defect that required that the installer be run twice to create that file; that was correcteed in 4.5.21.2. > 4. .shorewallrc is created by shorewall-4/install No -- see above. > 5. shorewall-init/configure does not determine the value to be used as > $BUILD, so does not store it in ~/.shorewallrc or ./shorewallrc shorewall-init has no business modifying or creating a shorewallrc file. > 6. shorewall-init/install dynamically determines the value to be used as > $BUILD > And as I stated in my previous post, that is a bug. I have created 4.5.21.3 which I will release shortly. Distribution maintainers may ignore that dot release, as it only contains changes to the tarball installers. Attached is a log file of an install from scratch on a Ubuntu Raring system. Regards, -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 \________________________________________________
root@Ubuntu:~# tar -xf
/home/teastep/shorewall/build/4.5.21/shorewall-core-4.5.21.3.tar.bz2
root@Ubuntu:~# tar -xf
/home/teastep/shorewall/build/4.5.21/shorewall-4.5.21.3.tar.bz2
root@Ubuntu:~# tar -xf
/home/teastep/shorewall/build/4.5.21/shorewall-init-4.5.21.3.tar.bz2
root@Ubuntu:~# ls -a
. .. .bash_history .bashrc .config .dbus .emacs .emacs.d .gconf
.lesshst .profile shorewall-4.5.21.3 shorewall-core-4.5.21.3
shorewall-init-4.5.21.3 .ssh status
root@Ubuntu:~# cd shorewall-core-4.5.21.3/
root@Ubuntu:~/shorewall-core-4.5.21.3# ./configure
INFO: Creating a debian-specific installation - Fri Oct 25 07:13:59 PDT 2013
HOST=debian
PREFIX=/usr
SHAREDIR=${PREFIX}/share
LIBEXECDIR=${PREFIX}/share
PERLLIBDIR=${PREFIX}/share/shorewall
CONFDIR=/etc
SBINDIR=/sbin
MANDIR=${PREFIX}/share/man
INITDIR=/etc/init.d
INITSOURCE=init.debian.sh
INITFILE=$PRODUCT
AUXINITSOURCE=
AUXINITFILE=
SYSTEMD=
SERVICEFILE=
SYSCONFFILE=default.debian
SYSCONFDIR=/etc/default
SPARSE=Yes
ANNOTATED=
VARLIB=/var/lib
VARDIR=${VARLIB}/$PRODUCT
root@Ubuntu:~/shorewall-core-4.5.21.3# ./install.sh
Installing Shorewall Core Version 4.5.21.3
wait4ifup installed in /usr/share/shorewall/wait4ifup
Library base file installed as /usr/share/shorewall/lib.base
root@Ubuntu:~# cd ../shorewall-4.5.21.3/
root@Ubuntu:~/shorewall-4.5.21.3# ./install.sh
Installing Debian-specific configuration...
Using Digest::
Installing Shorewall Version 4.5.21.3
shorewall control program installed in /sbin/shorewall
SysV init script init.debian.sh installed in //etc/init.d/shorewall
Modules file installed as /usr/share/shorewall/modules
Modules file modules.essential installed as
/usr/share/shorewall/modules.essential
Modules file modules.extensions installed as
/usr/share/shorewall/modules.extensions
Modules file modules.ipset installed as /usr/share/shorewall/modules.ipset
Modules file modules.tc installed as /usr/share/shorewall/modules.tc
Modules file modules.xtables installed as /usr/share/shorewall/modules.xtables
Helper modules file installed as /usr/share/shorewall/helpers
Default config path file installed as /usr/share/shorewall/configpath
Standard actions file installed as /usr/shared/shorewall/actions.std
Config file installed as /etc/shorewall/shorewall.conf
Parameter file installed as /etc/shorewall/params
Conntrack file installed as /etc/shorewall/conntrack
Action A_Drop file installed as /usr/share/shorewall/action.A_Drop
Action A_Reject file installed as /usr/share/shorewall/action.A_Reject
Action AutoBL file installed as /usr/share/shorewall/action.AutoBL
Action AutoBLL file installed as /usr/share/shorewall/action.AutoBLL
Action Broadcast file installed as /usr/share/shorewall/action.Broadcast
Action Drop file installed as /usr/share/shorewall/action.Drop
Action DropSmurfs file installed as /usr/share/shorewall/action.DropSmurfs
Action Established file installed as /usr/share/shorewall/action.Established
Action IfEvent file installed as /usr/share/shorewall/action.IfEvent
Action Invalid file installed as /usr/share/shorewall/action.Invalid
Action New file installed as /usr/share/shorewall/action.New
Action NotSyn file installed as /usr/share/shorewall/action.NotSyn
Action RST file installed as /usr/share/shorewall/action.RST
Action Reject file installed as /usr/share/shorewall/action.Reject
Action Related file installed as /usr/share/shorewall/action.Related
Action ResetEvent file installed as /usr/share/shorewall/action.ResetEvent
Action SetEvent file installed as /usr/share/shorewall/action.SetEvent
Action TCPFlags file installed as /usr/share/shorewall/action.TCPFlags
Action Untracked file installed as /usr/share/shorewall/action.Untracked
Action allowInvalid file installed as /usr/share/shorewall/action.allowInvalid
Action dropInvalid file installed as /usr/share/shorewall/action.dropInvalid
Action template file installed as /usr/share/shorewall/action.template
Macro A_AllowICMPs file installed as /usr/share/shorewall/macro.A_AllowICMPs
Macro A_DropDNSrep file installed as /usr/share/shorewall/macro.A_DropDNSrep
Macro A_DropUPnP file installed as /usr/share/shorewall/macro.A_DropUPnP
Macro ActiveDir file installed as /usr/share/shorewall/macro.ActiveDir
Macro AllowICMPs file installed as /usr/share/shorewall/macro.AllowICMPs
Macro Amanda file installed as /usr/share/shorewall/macro.Amanda
Macro Auth file installed as /usr/share/shorewall/macro.Auth
Macro BGP file installed as /usr/share/shorewall/macro.BGP
Macro BLACKLIST file installed as /usr/share/shorewall/macro.BLACKLIST
Macro BitTorrent file installed as /usr/share/shorewall/macro.BitTorrent
Macro BitTorrent32 file installed as /usr/share/shorewall/macro.BitTorrent32
Macro CVS file installed as /usr/share/shorewall/macro.CVS
Macro Citrix file installed as /usr/share/shorewall/macro.Citrix
Macro DAAP file installed as /usr/share/shorewall/macro.DAAP
Macro DCC file installed as /usr/share/shorewall/macro.DCC
Macro DHCPfwd file installed as /usr/share/shorewall/macro.DHCPfwd
Macro DNS file installed as /usr/share/shorewall/macro.DNS
Macro Distcc file installed as /usr/share/shorewall/macro.Distcc
Macro Drop file installed as /usr/share/shorewall/macro.Drop
Macro DropDNSrep file installed as /usr/share/shorewall/macro.DropDNSrep
Macro DropUPnP file installed as /usr/share/shorewall/macro.DropUPnP
Macro Edonkey file installed as /usr/share/shorewall/macro.Edonkey
Macro FTP file installed as /usr/share/shorewall/macro.FTP
Macro Finger file installed as /usr/share/shorewall/macro.Finger
Macro GNUnet file installed as /usr/share/shorewall/macro.GNUnet
Macro GRE file installed as /usr/share/shorewall/macro.GRE
Macro Git file installed as /usr/share/shorewall/macro.Git
Macro Gnutella file installed as /usr/share/shorewall/macro.Gnutella
Macro HKP file installed as /usr/share/shorewall/macro.HKP
Macro HTTP file installed as /usr/share/shorewall/macro.HTTP
Macro HTTPS file installed as /usr/share/shorewall/macro.HTTPS
Macro ICPV2 file installed as /usr/share/shorewall/macro.ICPV2
Macro ICQ file installed as /usr/share/shorewall/macro.ICQ
Macro IMAP file installed as /usr/share/shorewall/macro.IMAP
Macro IMAPS file installed as /usr/share/shorewall/macro.IMAPS
Macro IPIP file installed as /usr/share/shorewall/macro.IPIP
Macro IPP file installed as /usr/share/shorewall/macro.IPP
Macro IPPbrd file installed as /usr/share/shorewall/macro.IPPbrd
Macro IPPserver file installed as /usr/share/shorewall/macro.IPPserver
Macro IPsec file installed as /usr/share/shorewall/macro.IPsec
Macro IPsecah file installed as /usr/share/shorewall/macro.IPsecah
Macro IPsecnat file installed as /usr/share/shorewall/macro.IPsecnat
Macro IRC file installed as /usr/share/shorewall/macro.IRC
Macro JAP file installed as /usr/share/shorewall/macro.JAP
Macro JabberPlain file installed as /usr/share/shorewall/macro.JabberPlain
Macro JabberSecure file installed as /usr/share/shorewall/macro.JabberSecure
Macro Jabberd file installed as /usr/share/shorewall/macro.Jabberd
Macro Jetdirect file installed as /usr/share/shorewall/macro.Jetdirect
Macro Kerberos file installed as /usr/share/shorewall/macro.Kerberos
Macro L2TP file installed as /usr/share/shorewall/macro.L2TP
Macro LDAP file installed as /usr/share/shorewall/macro.LDAP
Macro LDAPS file installed as /usr/share/shorewall/macro.LDAPS
Macro MSNP file installed as /usr/share/shorewall/macro.MSNP
Macro MSSQL file installed as /usr/share/shorewall/macro.MSSQL
Macro Mail file installed as /usr/share/shorewall/macro.Mail
Macro Munin file installed as /usr/share/shorewall/macro.Munin
Macro MySQL file installed as /usr/share/shorewall/macro.MySQL
Macro NNTP file installed as /usr/share/shorewall/macro.NNTP
Macro NNTPS file installed as /usr/share/shorewall/macro.NNTPS
Macro NTP file installed as /usr/share/shorewall/macro.NTP
Macro NTPbi file installed as /usr/share/shorewall/macro.NTPbi
Macro NTPbrd file installed as /usr/share/shorewall/macro.NTPbrd
Macro OSPF file installed as /usr/share/shorewall/macro.OSPF
Macro OpenVPN file installed as /usr/share/shorewall/macro.OpenVPN
Macro PCA file installed as /usr/share/shorewall/macro.PCA
Macro POP3 file installed as /usr/share/shorewall/macro.POP3
Macro POP3S file installed as /usr/share/shorewall/macro.POP3S
Macro PPtP file installed as /usr/share/shorewall/macro.PPtP
Macro Ping file installed as /usr/share/shorewall/macro.Ping
Macro PostgreSQL file installed as /usr/share/shorewall/macro.PostgreSQL
Macro Printer file installed as /usr/share/shorewall/macro.Printer
Macro Puppet file installed as /usr/share/shorewall/macro.Puppet
Macro RDP file installed as /usr/share/shorewall/macro.RDP
Macro RIPbi file installed as /usr/share/shorewall/macro.RIPbi
Macro RNDC file installed as /usr/share/shorewall/macro.RNDC
Macro Razor file installed as /usr/share/shorewall/macro.Razor
Macro Rdate file installed as /usr/share/shorewall/macro.Rdate
Macro Reject file installed as /usr/share/shorewall/macro.Reject
Macro Rfc1918 file installed as /usr/share/shorewall/macro.Rfc1918
Macro Rsync file installed as /usr/share/shorewall/macro.Rsync
Macro SANE file installed as /usr/share/shorewall/macro.SANE
Macro SIP file installed as /usr/share/shorewall/macro.SIP
Macro SMB file installed as /usr/share/shorewall/macro.SMB
Macro SMBBI file installed as /usr/share/shorewall/macro.SMBBI
Macro SMBswat file installed as /usr/share/shorewall/macro.SMBswat
Macro SMTP file installed as /usr/share/shorewall/macro.SMTP
Macro SMTPS file installed as /usr/share/shorewall/macro.SMTPS
Macro SNMP file installed as /usr/share/shorewall/macro.SNMP
Macro SNMPTrap file installed as /usr/share/shorewall/macro.SNMPTrap
Macro SPAMD file installed as /usr/share/shorewall/macro.SPAMD
Macro SSH file installed as /usr/share/shorewall/macro.SSH
Macro SVN file installed as /usr/share/shorewall/macro.SVN
Macro SixXS file installed as /usr/share/shorewall/macro.SixXS
Macro Squid file installed as /usr/share/shorewall/macro.Squid
Macro Submission file installed as /usr/share/shorewall/macro.Submission
Macro Syslog file installed as /usr/share/shorewall/macro.Syslog
Macro TFTP file installed as /usr/share/shorewall/macro.TFTP
Macro Telnet file installed as /usr/share/shorewall/macro.Telnet
Macro Telnets file installed as /usr/share/shorewall/macro.Telnets
Macro Teredo file installed as /usr/share/shorewall/macro.Teredo
Macro Time file installed as /usr/share/shorewall/macro.Time
Macro Trcrt file installed as /usr/share/shorewall/macro.Trcrt
Macro VNC file installed as /usr/share/shorewall/macro.VNC
Macro VNCL file installed as /usr/share/shorewall/macro.VNCL
Macro VRRP file installed as /usr/share/shorewall/macro.VRRP
Macro Web file installed as /usr/share/shorewall/macro.Web
Macro Webcache file installed as /usr/share/shorewall/macro.Webcache
Macro Webmin file installed as /usr/share/shorewall/macro.Webmin
Macro Whois file installed as /usr/share/shorewall/macro.Whois
Macro Xymon file installed as /usr/share/shorewall/macro.Xymon
Macro mDNS file installed as /usr/share/shorewall/macro.mDNS
Macro mDNSbi file installed as /usr/share/shorewall/macro.mDNSbi
Macro template file installed as /usr/share/shorewall/macro.template
Library cli-std file installed as /usr/share/shorewall/lib.cli-std
Library core file installed as /usr/share/shorewall/Perl/lib.core
Compiler installed in /usr/share/shorewall/compiler.pl
Params file helper installed in /usr/share/shorewall/getparams
Module Shorewall/ARP installed as /usr/share/shorewall/Shorewall/ARP.pm
Module Shorewall/Accounting installed as
/usr/share/shorewall/Shorewall/Accounting.pm
Module Shorewall/Chains installed as /usr/share/shorewall/Shorewall/Chains.pm
Module Shorewall/Compiler installed as
/usr/share/shorewall/Shorewall/Compiler.pm
Module Shorewall/Config installed as /usr/share/shorewall/Shorewall/Config.pm
Module Shorewall/IPAddrs installed as /usr/share/shorewall/Shorewall/IPAddrs.pm
Module Shorewall/Misc installed as /usr/share/shorewall/Shorewall/Misc.pm
Module Shorewall/Nat installed as /usr/share/shorewall/Shorewall/Nat.pm
Module Shorewall/Proc installed as /usr/share/shorewall/Shorewall/Proc.pm
Module Shorewall/Providers installed as
/usr/share/shorewall/Shorewall/Providers.pm
Module Shorewall/Proxyarp installed as
/usr/share/shorewall/Shorewall/Proxyarp.pm
Module Shorewall/Raw installed as /usr/share/shorewall/Shorewall/Raw.pm
Module Shorewall/Rules installed as /usr/share/shorewall/Shorewall/Rules.pm
Module Shorewall/Tc installed as /usr/share/shorewall/Shorewall/Tc.pm
Module Shorewall/Tunnels installed as /usr/share/shorewall/Shorewall/Tunnels.pm
Module Shorewall/Zones installed as /usr/share/shorewall/Shorewall/Zones.pm
Program skeleton file footer installed as /usr/share/shorewall/prog.footer
Man page shorewall-accounting.5.gz installed to
/usr/share/man/man5/shorewall-accounting.5.gz
Man page shorewall-actions.5.gz installed to
/usr/share/man/man5/shorewall-actions.5.gz
Man page shorewall-arprules.5.gz installed to
/usr/share/man/man5/shorewall-arprules.5.gz
Man page shorewall-blacklist.5.gz installed to
/usr/share/man/man5/shorewall-blacklist.5.gz
Man page shorewall-blrules.5.gz installed to
/usr/share/man/man5/shorewall-blrules.5.gz
Man page shorewall-conntrack.5.gz installed to
/usr/share/man/man5/shorewall-conntrack.5.gz
Man page shorewall-ecn.5.gz installed to /usr/share/man/man5/shorewall-ecn.5.gz
Man page shorewall-exclusion.5.gz installed to
/usr/share/man/man5/shorewall-exclusion.5.gz
Man page shorewall-hosts.5.gz installed to
/usr/share/man/man5/shorewall-hosts.5.gz
Man page shorewall-interfaces.5.gz installed to
/usr/share/man/man5/shorewall-interfaces.5.gz
Man page shorewall-ipsets.5.gz installed to
/usr/share/man/man5/shorewall-ipsets.5.gz
Man page shorewall-maclist.5.gz installed to
/usr/share/man/man5/shorewall-maclist.5.gz
Man page shorewall-masq.5.gz installed to
/usr/share/man/man5/shorewall-masq.5.gz
Man page shorewall-modules.5.gz installed to
/usr/share/man/man5/shorewall-modules.5.gz
Man page shorewall-nat.5.gz installed to /usr/share/man/man5/shorewall-nat.5.gz
Man page shorewall-nesting.5.gz installed to
/usr/share/man/man5/shorewall-nesting.5.gz
Man page shorewall-netmap.5.gz installed to
/usr/share/man/man5/shorewall-netmap.5.gz
Man page shorewall-params.5.gz installed to
/usr/share/man/man5/shorewall-params.5.gz
Man page shorewall-policy.5.gz installed to
/usr/share/man/man5/shorewall-policy.5.gz
Man page shorewall-providers.5.gz installed to
/usr/share/man/man5/shorewall-providers.5.gz
Man page shorewall-proxyarp.5.gz installed to
/usr/share/man/man5/shorewall-proxyarp.5.gz
Man page shorewall-routes.5.gz installed to
/usr/share/man/man5/shorewall-routes.5.gz
Man page shorewall-routestopped.5.gz installed to
/usr/share/man/man5/shorewall-routestopped.5.gz
Man page shorewall-rtrules.5.gz installed to
/usr/share/man/man5/shorewall-rtrules.5.gz
Man page shorewall-rules.5.gz installed to
/usr/share/man/man5/shorewall-rules.5.gz
Man page shorewall-secmarks.5.gz installed to
/usr/share/man/man5/shorewall-secmarks.5.gz
Man page shorewall-stoppedrules.5.gz installed to
/usr/share/man/man5/shorewall-stoppedrules.5.gz
Man page shorewall-tcclasses.5.gz installed to
/usr/share/man/man5/shorewall-tcclasses.5.gz
Man page shorewall-tcdevices.5.gz installed to
/usr/share/man/man5/shorewall-tcdevices.5.gz
Man page shorewall-tcfilters.5.gz installed to
/usr/share/man/man5/shorewall-tcfilters.5.gz
Man page shorewall-tcinterfaces.5.gz installed to
/usr/share/man/man5/shorewall-tcinterfaces.5.gz
Man page shorewall-tcpri.5.gz installed to
/usr/share/man/man5/shorewall-tcpri.5.gz
Man page shorewall-tcrules.5.gz installed to
/usr/share/man/man5/shorewall-tcrules.5.gz
Man page shorewall-tos.5.gz installed to /usr/share/man/man5/shorewall-tos.5.gz
Man page shorewall-tunnels.5.gz installed to
/usr/share/man/man5/shorewall-tunnels.5.gz
Man page shorewall-vardir.5.gz installed to
/usr/share/man/man5/shorewall-vardir.5.gz
Man page shorewall-zones.5.gz installed to
/usr/share/man/man5/shorewall-zones.5.gz
Man page shorewall.conf.5.gz installed to
/usr/share/man/man5/shorewall.conf.5.gz
Man page shorewall-init.8.gz installed to
/usr/share/man/man8/shorewall-init.8.gz
Man page shorewall.8.gz installed to /usr/share/man/man8/shorewall.8.gz
Man Pages Installed
Logrotate file installed as /etc/logrotate.d/shorewall
shorewall will start automatically at boot
Set startup=1 in /etc/default/shorewall to enable
update-rc.d: warning: shorewall start runlevel arguments (none) do not match
LSB Default-Start values (S)
update-rc.d: warning: shorewall stop runlevel arguments (none) do not match LSB
Default-Stop values (0 6)
Enabling system startup links for /etc/init.d/shorewall ...
Removing any system startup links for /etc/init.d/shorewall ...
/etc/rc0.d/K20shorewall
/etc/rc1.d/K20shorewall
/etc/rc2.d/S20shorewall
/etc/rc3.d/S20shorewall
/etc/rc4.d/S20shorewall
/etc/rc5.d/S20shorewall
/etc/rc6.d/K20shorewall
Adding system startup for /etc/init.d/shorewall ...
/etc/rc0.d/K20shorewall -> ../init.d/shorewall
/etc/rc1.d/K20shorewall -> ../init.d/shorewall
/etc/rc6.d/K20shorewall -> ../init.d/shorewall
/etc/rc2.d/S20shorewall -> ../init.d/shorewall
/etc/rc3.d/S20shorewall -> ../init.d/shorewall
/etc/rc4.d/S20shorewall -> ../init.d/shorewall
/etc/rc5.d/S20shorewall -> ../init.d/shorewall
Shorewall Version 4.5.21.3 Installed
root@Ubuntu:~/shorewall-4.5.21.3# cd ../shorewall-init-4.5.21.3/
root@Ubuntu:~/shorewall-init-4.5.21.3# ./install.sh
Installing Debian-specific configuration...
Installing Shorewall Init Version 4.5.21.3
SysV init script init.debian.sh installed in /etc/init.d/shorewall-init
Logrotate file installed as /etc/logrotate.d/shorewall-init
update-rc.d: warning: shorewall-init start runlevel arguments (none) do not
match LSB Default-Start values (S)
update-rc.d: warning: shorewall-init stop runlevel arguments (none) do not
match LSB Default-Stop values (0 6)
System start/stop links for /etc/init.d/shorewall-init do not exist.
shorewall-init will start automatically at boot
Set startup=1 in /etc/default/shorewall-init to enable
shorewall Init Version 4.5.21.3 Installed
root@Ubuntu:~/shorewall-init-4.5.21.3#
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
