Bug#771757: unblock: shorewall-init/4.6.4.3-2
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Please unblock package shorewall-init
In the default configuration, the STATEDIR variable in the init script
is set incorrectly, resulting in the start and stop functions not
working. This issue was identified and fixed by upstream. I have
cherry picked the commit to create the minimal disturbance to the
package. I have documented the issue in #771754.
Debdiff against testing is attached.
unblock shorewall-init/4.6.4.3-2
Regards,
- -Roberto
- -- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJUfTCGAAoJECzXeF7dp7IPZNUP/2DYnk5amlvSxKX4eBRik0W3
nA58d0JPCrnG5zXpCzqoDfhNwIybSurbAyorbhD/3wLtDOKOPvL9IqyeGZjDa85+
bgQo97iL+I3LWTVMwBmePTXaAa1ZX3MdOaEprMGb6iUoW+3iqVTBIAlWWgOyP2UI
fTQI2LsfczWELgzN2oPKy7xUOeP9fu6LSUj+lCEjaHJDWMYXpS/QNJKOkvkKC3MI
P/w1r0L8a2GtCcagv9+yDHaegH7kUapKwrxDfbbLAut+gT7QY92VWqga24roR6wu
UnqFfPT1MVBbu3hVyO9U84+Ise6aHplEGhRC78gS2dIRGVfcoWknLuc13l2kp9+v
B1GMJmepcDuRHua4nIp1hAIMSdBKTBAPQmOHy8Dg9T84X2Uod8HqD+6rBVmE1mMl
ELRUgNW+m3dcLY9OBLW8obdY6yzIPzvjSr6HTMAbRuPDFZzl4iqKEH+mjMGCaXjQ
vKOZQGobMkpD7WrJI+u8FC7KraGcE/GNTw6rYIp2j6/KkSLGfv/63cmm+xFQxpLD
3ZUscJK9IFiyZNQBxQPCX30L5+vhktJHON5VHvxukfjd8UujXf5TLSXl0ksl5yZl
ZskvweCgMEmhZ66GX4JdbkWFLXIfPYzwNqhzKIONrWkxbvHr6ZNYyjde/quQBpYu
Z0JZK1DwodzgLYOmCBIY
=cuZQ
-----END PGP SIGNATURE-----
diff -Nru shorewall-init-4.6.4.3/debian/changelog shorewall-init-4.6.4.3/debian/changelog
--- shorewall-init-4.6.4.3/debian/changelog 2014-10-19 15:11:19.000000000 -0400
+++ shorewall-init-4.6.4.3/debian/changelog 2014-12-01 21:52:09.000000000 -0500
@@ -1,3 +1,10 @@
+shorewall-init (4.6.4.3-2) unstable; urgency=low
+
+ * Fix init script so that start/stop works in the default configuration
+ (Closes: #771754)
+
+ -- Roberto C. Sanchez <roberto@connexer.com> Mon, 01 Dec 2014 21:46:54 -0500
+
shorewall-init (4.6.4.3-1) unstable; urgency=low
* New Upstream Version
diff -Nru shorewall-init-4.6.4.3/debian/patches/01_init_script_fix_statedir.patch shorewall-init-4.6.4.3/debian/patches/01_init_script_fix_statedir.patch
--- shorewall-init-4.6.4.3/debian/patches/01_init_script_fix_statedir.patch 1969-12-31 19:00:00.000000000 -0500
+++ shorewall-init-4.6.4.3/debian/patches/01_init_script_fix_statedir.patch 2014-12-01 21:52:09.000000000 -0500
@@ -0,0 +1,11 @@
+--- shorewall.git.orig/init.debian.sh
++++ shorewall.git/init.debian.sh
+@@ -71,7 +71,7 @@
+ statedir=$( . /${CONFDIR}/${PRODUCT}/vardir && echo $VARDIR )
+ fi
+
+- [ -n "$statedir" ] && STATEDIR=${statedir} || STATEDIR=${VARDIR}/${PRODUCT}
++ [ -n "$statedir" ] && STATEDIR=${statedir} || STATEDIR=${VARLIB}/${PRODUCT}
+
+ if [ $PRODUCT = shorewall -o $PRODUCT = shorewall6 ]; then
+ ${SBINDIR}/$PRODUCT ${OPTIONS} compile -c || echo_notdone
diff -Nru shorewall-init-4.6.4.3/debian/patches/series shorewall-init-4.6.4.3/debian/patches/series
--- shorewall-init-4.6.4.3/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
+++ shorewall-init-4.6.4.3/debian/patches/series 2014-12-01 21:52:09.000000000 -0500
@@ -0,0 +1 @@
+01_init_script_fix_statedir.patch
Reply to: