Tom, I''m setting up a new firewall using shorewall-2.0.3a. The box was installed with the minimum, almost only the kernel. before installing shorewall, I installed iptables 1.2.9 and iproute2. Then I did a manual ./install.sh from the directory extracted from the tarball. When I issued a shorewall start, I received hundreds of errors like: /usr/share/shorewall/firewall: line 5520: /var/lib/shorewall/shorewall-18641: Is a directory I did a shorewall trace start > /tmp/x 2>&1 and reviewed the trace to found the following lines: ++ mktempfile /var/lib/shorewall ++ ''['' -z '''' '']'' ++ find_mktemp +++ which mktemp ++ local mktemp++ ''['' -n '''' '']'' ++ MKTEMP=None ++ ''['' 1 -gt 0 '']'' ++ mkdir /var/lib/shorewall/shorewall-18641 ++ echo /var/lib/shorewall/shorewall-18641 + RESTOREBASE=/var/lib/shorewall/shorewall-18641 + ''['' -n /var/lib/shorewall/shorewall-18641 '']'' + echo ''#bin/sh'' /usr/share/shorewall/firewall: line 5520: /var/lib/shorewall/shorewall-18641: Is a directory Later, I found out I was using the builtin which command. After installing the which command from the rpm, everything went fine. Is the which command a requirement for shorewall? or did I do anything wrong (more probable). tia, ________________________ Eduardo Ferreira Icatu Holding S.A. Supervisor de TI (5521) 3804-8606
Eduardo Ferreira wrote:> Tom, > > I''m setting up a new firewall using shorewall-2.0.3a. The box was > installed with the minimum, almost only the kernel. > > before installing shorewall, I installed iptables 1.2.9 and iproute2. Then > I did a manual ./install.sh from the directory extracted from the tarball. > When I issued a shorewall start, I received hundreds of errors like: > > /usr/share/shorewall/firewall: line 5520: > /var/lib/shorewall/shorewall-18641: Is a directory > > I did a shorewall trace start > /tmp/x 2>&1 and reviewed the trace to > found the following lines: > > ++ mktempfile /var/lib/shorewall > ++ ''['' -z '''' '']'' > ++ find_mktemp > +++ which mktemp > ++ local mktemp> ++ ''['' -n '''' '']'' > ++ MKTEMP=None > ++ ''['' 1 -gt 0 '']'' > ++ mkdir /var/lib/shorewall/shorewall-18641 > ++ echo /var/lib/shorewall/shorewall-18641 > + RESTOREBASE=/var/lib/shorewall/shorewall-18641 > + ''['' -n /var/lib/shorewall/shorewall-18641 '']'' > + echo ''#bin/sh'' > /usr/share/shorewall/firewall: line 5520: > /var/lib/shorewall/shorewall-18641: Is a directory > > Later, I found out I was using the builtin which command. After > installing the which command from the rpm, everything went fine. Is the > which command a requirement for shorewall? or did I do anything wrong > (more probable).''which'' is a requirement and you found a bug. I''ll fix the bug in 2.0.3b/1.4.10g. -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net