Your message dated Sat, 30 Jun 2012 19:32:42 +0000
with message-id <e1sl3po-0004f6...@franck.debian.org>
and subject line Bug#659765: fixed in iptables-persistent 0.5.5
has caused the Debian Bug report #659765,
regarding iptables-persistent: use Pre-Depends rather than
'dpkg-maintscript-helper supports' guards
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
659765: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659765
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: iptables-persistent
Version: 0.5.3
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch precise
Using 'dpkg-maintscript-helper supports rm_conffile' guards introduces
unreliability into upgrades; it means that the conffile is removed or
not depending on whether dpkg happens to be unpacked before fonts-f500.
This seems generally undesirable; it would be better to enforce a single
code path. (This is academic for Debian because the version of dpkg in
squeeze supported dpkg-maintscript-helper, hence Severity: wishlist;
Ubuntu's last LTS release didn't have a sufficient version of dpkg for
that which is why I care.)
It would be nice to just use dh_installdeb's support for generating
dpkg-maintscript-helper commands (I've sent patches for many other
packages today to that effect). However, I couldn't make this work in
the context of this package's postinst, because the code inserted by
dh_installinit must come after your hand-written postinst code while the
code generated by dh_installdeb would have to come before it. This
patch is still a simplification, though.
* Pre-Depend on a sufficient version of dpkg rather than using
'dpkg-maintscript-helper supports' guards.
diff -Nru iptables-persistent-0.5.3/debian/control
iptables-persistent-0.5.3ubuntu1/debian/control
--- iptables-persistent-0.5.3/debian/control 2011-11-29 00:14:42.000000000
+0000
+++ iptables-persistent-0.5.3ubuntu1/debian/control 2012-02-13
16:13:34.000000000 +0000
@@ -9,6 +9,7 @@
Package: iptables-persistent
Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2~)
Depends: iptables, lsb-base, ${misc:Depends}
Description: boot-time loader for iptables rules
This package provides a system startup script that restores iptables
diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.postinst
iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postinst
--- iptables-persistent-0.5.3/debian/iptables-persistent.postinst
2011-11-29 00:14:42.000000000 +0000
+++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postinst
2012-02-13 16:12:47.000000000 +0000
@@ -5,10 +5,8 @@
# Source debconf library
. /usr/share/debconf/confmodule
-if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
- dpkg-maintscript-helper mv_conffile \
- /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
-fi
+dpkg-maintscript-helper mv_conffile \
+ /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
case "$1" in
configure)
diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.postrm
iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postrm
--- iptables-persistent-0.5.3/debian/iptables-persistent.postrm 2011-11-29
00:14:42.000000000 +0000
+++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.postrm
2012-02-13 16:12:52.000000000 +0000
@@ -2,10 +2,8 @@
set -e
-if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
- dpkg-maintscript-helper mv_conffile \
- /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
-fi
+dpkg-maintscript-helper mv_conffile \
+ /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
case "$1" in
purge)
diff -Nru iptables-persistent-0.5.3/debian/iptables-persistent.preinst
iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.preinst
--- iptables-persistent-0.5.3/debian/iptables-persistent.preinst
2011-11-29 00:14:42.000000000 +0000
+++ iptables-persistent-0.5.3ubuntu1/debian/iptables-persistent.preinst
2012-02-13 16:12:42.000000000 +0000
@@ -2,9 +2,7 @@
set -e
-if dpkg-maintscript-helper supports mv_conffile 2>/dev/null; then
- dpkg-maintscript-helper mv_conffile \
- /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
-fi
+dpkg-maintscript-helper mv_conffile \
+ /etc/iptables/rules /etc/iptables/rules.v4 0.0.20101230 -- "$@"
#DEBHELPER#
Thanks,
--
Colin Watson [cjwat...@ubuntu.com]
--- End Message ---
--- Begin Message ---
Source: iptables-persistent
Source-Version: 0.5.5
We believe that the bug you reported is fixed in the latest version of
iptables-persistent, which is due to be installed in the Debian FTP archive:
iptables-persistent_0.5.5.dsc
to main/i/iptables-persistent/iptables-persistent_0.5.5.dsc
iptables-persistent_0.5.5.tar.gz
to main/i/iptables-persistent/iptables-persistent_0.5.5.tar.gz
iptables-persistent_0.5.5_all.deb
to main/i/iptables-persistent/iptables-persistent_0.5.5_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 659...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonathan Wiltshire <j...@debian.org> (supplier of updated iptables-persistent
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 30 Jun 2012 19:52:36 +0100
Source: iptables-persistent
Binary: iptables-persistent
Architecture: source all
Version: 0.5.5
Distribution: unstable
Urgency: low
Maintainer: Jonathan Wiltshire <j...@debian.org>
Changed-By: Jonathan Wiltshire <j...@debian.org>
Description:
iptables-persistent - boot-time loader for iptables rules
Closes: 651838 656348 659765
Changes:
iptables-persistent (0.5.5) unstable; urgency=low
.
* Regressions were found in the previous release, this version fixes them
.
[ Andreas Rütten ]
* [e2736e] Fix postinst fails with legacy boot ordering due to wrong call
to update-rc.d (Closes: #651838)
* [7ee7cc] Add Andreas Rütten to Uploaders
.
[ Jonathan Wiltshire ]
* [e823c4] iptables-persistent.postinst: check return value of modprobe
before loading rules
* [575176] Add dependency on kmod for calls to modprobe in postinst.
Thanks to Hideki Yamane (Closes: #656348)
* [24d67d] Pre-Depending on a sufficient version of dpkg is no longer
necessary (Closes: #659765)
* [65a9d7] Guard against moving rules files around in preinst/abort-upgrade
Checksums-Sha1:
b4fb3489a510e44d5fe13041f9a1abc62b9fae63 1675 iptables-persistent_0.5.5.dsc
63f912a9be63cf32ec16d8cc892b0cbccd8ccc5f 12830 iptables-persistent_0.5.5.tar.gz
fb5128fd89af084e6ac9dde91555e98ec577296c 10098
iptables-persistent_0.5.5_all.deb
Checksums-Sha256:
449f09956f4f4304a4f3b2a4a4c39bfb612dea261eb5a540a0610f3d5bd79400 1675
iptables-persistent_0.5.5.dsc
99bc16d09fe7c32dc20c498aab26cd08cf753cb89dbfcd668da1a6981ab3f524 12830
iptables-persistent_0.5.5.tar.gz
920a66a85adea78e74c96d8b70b6f50cea738da8ea2eb0a1f050f721a6b69578 10098
iptables-persistent_0.5.5_all.deb
Files:
163c6dea0f9ce4659b067e0b1085dbfb 1675 admin optional
iptables-persistent_0.5.5.dsc
081f30e45bfd34da3d9c311c399a8863 12830 admin optional
iptables-persistent_0.5.5.tar.gz
1271805d016245a8b99295ffc18d0bae 10098 admin optional
iptables-persistent_0.5.5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBAgAGBQJP70z5AAoJEFOUR53TUkxRGjQQAJV4Db/X5bYlWtRPUn+lXVMZ
wfREPBdU9YwphjMnYhzidHgcokgBT7QLZoi4pI0SpRYXyy2SyGjf6wz2n5aYsBMg
zZP0AczisBhErPufiFdFVi1XpA+3PLq4kyi2l2sIO0GX+UXwjAfVZpIRXdCqq82y
jcBn7kQETgflXNkiSab9DtF2hUVZyY/BrXmyciJ/6rSXZumBDA9BPXB58NZnSB7c
3pw/HP4UxWAXoXLlr6d+m2Dl2TJJ614khzyk9LT4PY9gyupZ9B1k/EQF4HHsTpaA
kzLjCgCLhDKrHQUbrZHv/rzM0a5SKhYsJVRnH0Ub5PENPEByp17GYuHhbf5eZ+Fj
m/lY0KjXdAplJ58g6jCsYk6gIr81VGFCTUirVMXAA5RQEYFcrtsHPSu7xD1mdToH
q1jILlbAWdLwaFaFYfuBNhw2QUo5KtVd1f6n2Ua1yF9DZWkOO+4DWo2T2Et0ejYI
+nnsRHiZsudazvt76t2+hw1E4Dsi4JXoLnxt3WWp6owMFrwiPSixdHHm0FoFmGwf
0Vsa03Mdm0qMd+RTy+mcCpZ+tGY7gFcTl2yslRpgInioOo9Bvgzbd8OSKDNuHWsl
PLEWDKzkPhf38eF+P6Rmc5QvEFBM+Fz9o7aqejVQX/FS/rMoInu4RJVtq2hOpjFW
v8AE0YlMlMufeoaTYoWc
=nfbz
-----END PGP SIGNATURE-----
--- End Message ---