diff --git a/Lrp/usr/share/shorewall/functions b/Lrp/usr/share/shorewall/functions
index 73990d0d3..dd9725275 100644
--- a/Lrp/usr/share/shorewall/functions
+++ b/Lrp/usr/share/shorewall/functions
@@ -213,7 +213,7 @@ mktempfile() {
mktemp -p $1 shorewall.XXXXXX
;;
None)
- mkdir $1/shorewall-$$ && echo $1/shorewall-$$
+ > $1/shorewall-$$ && echo $1/shorewall-$$
;;
*)
echo " ERROR:Internal error in mktempfile"
@@ -247,14 +247,14 @@ mktempdir() {
[ -z "$MKTEMP" ] && find_mktemp
case "$MKTEMP" in
- BSD)
- mktemp -d /tmp/shorewall.XXXXXX
- ;;
STD)
mktemp -td shorewall.XXXXXX
;;
- None)
- mkdir /tmp/shorewall-$$ && echo /tmp/shorewall-$$
+ None|BSD)
+ #
+ # Not all versions of the BSD mktemp support the -d option under Linux
+ #
+ mkdir /tmp/shorewall-$$ && chmod 700 /tmp/shorewall-$$ && echo /tmp/shorewall-$$
;;
*)
echo " ERROR:Internal error in mktempdir"
diff --git a/Lrp/usr/share/shorewall/version b/Lrp/usr/share/shorewall/version
index ad65cdd95..611e82501 100644
--- a/Lrp/usr/share/shorewall/version
+++ b/Lrp/usr/share/shorewall/version
@@ -1 +1 @@
-1.4.10f
+1.4.10g
diff --git a/Shorewall-docs/errata.xml b/Shorewall-docs/errata.xml
index 06e10e3d3..db39894d6 100644
--- a/Shorewall-docs/errata.xml
+++ b/Shorewall-docs/errata.xml
@@ -13,7 +13,7 @@
- 2004-06-28
+ 2004-06-30
2001-2004
@@ -73,6 +73,28 @@
Problems in Version 1.4
+
+ Shorewall 1.4.10f
+
+
+
+ Slackware users find that version 1.4.10f fails to start
+ because their mktemp utility does not support the
+ -d option. This may be corrected by installing this
+ corrected functions file in /var/lib/shorewall/functions.
+
+
+
+ Shorewall fails to start if there is no mktemp
+ utility.
+
+
+
+ These problems have been corrected in Shorewall version 1.4.10g.
+
+