[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#697691: preapproval unblock: dspam/3.10.1+dfsg-7



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package dspam

[this is a preapproval unblock request]

Bug #695275 "harmful actions in multiple postrm scripts of M-A:same
packages" was not fixed completely by previous upload to t-p-u. Indeed,
many more resources are shared between several architecture of a same
package, for instance configuration file.

As such, the least intrusive change now is to just disable multiarch.
It's not even much a big loss since the libraries shipped by src:dspam
are private libraries (plugins).

Since multi-arch is disabled, I decided to restore the old postinst
script of libdspam7 which was in testing before last upload.

See attached debdiff.

unblock dspam/3.10.1+dfsg-7

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru dspam-3.10.1+dfsg/debian/changelog dspam-3.10.1+dfsg/debian/changelog
--- dspam-3.10.1+dfsg/debian/changelog	2012-12-20 06:33:53.000000000 +0100
+++ dspam-3.10.1+dfsg/debian/changelog	2013-01-08 11:40:36.000000000 +0100
@@ -1,3 +1,11 @@
+dspam (3.10.1+dfsg-7) testing-proposed-updates; urgency=low
+
+  * Disable multi-arch since it create many problems with regards to the
+    handling of shared resources when a package is installed for several
+    architectures (Closes: #695275).
+
+ -- Thomas Preud'homme <robotux@debian.org>  Tue, 08 Jan 2013 11:37:35 +0100
+
 dspam (3.10.1+dfsg-6) testing-proposed-updates; urgency=low
 
   * Do not lock dspam user account on purge since the package could be still
diff -Nru dspam-3.10.1+dfsg/debian/control dspam-3.10.1+dfsg/debian/control
--- dspam-3.10.1+dfsg/debian/control	2012-12-20 06:33:53.000000000 +0100
+++ dspam-3.10.1+dfsg/debian/control	2013-01-08 11:40:36.000000000 +0100
@@ -54,7 +54,6 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}, adduser
 Suggests: libdspam7-drv (= ${binary:Version})
-Multi-Arch: ${misc:Multi-Arch}
 Description: Core message processing and classification functionality for DSPAM
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
@@ -87,7 +86,6 @@
 Replaces: dspam (<= 3.9.1~rc1+git20110514.347379b+dfsg-1)
 Breaks: dspam (<= 3.9.1~rc1+git20110514.347379b+dfsg-1)
 Provides: libdspam7-drv
-Multi-Arch: ${misc:Multi-Arch}
 Description: Hash backend for DSPAM anti-spam filter
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
@@ -104,7 +102,6 @@
 Depends: ${misc:Depends}, ${shlibs:Depends}, libdspam7 (= ${binary:Version}), dbconfig-common, ucf (>= 0.28), postgresql-client
 Recommends: postgresql
 Provides: libdspam7-drv
-Multi-Arch: ${misc:Multi-Arch}
 Description: PostgreSQL backend for DSPAM anti-spam filter
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
@@ -121,7 +118,6 @@
 Depends: ${misc:Depends}, ${shlibs:Depends}, libdspam7 (= ${binary:Version}), dbconfig-common, ucf (>= 0.28), mysql-client
 Recommends: mysql-server
 Provides: libdspam7-drv
-Multi-Arch: ${misc:Multi-Arch}
 Description: MySQL backend for DSPAM anti-spam filter
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
@@ -137,7 +133,6 @@
 Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, ${shlibs:Depends}, sqlite3, libdspam7 (= ${binary:Version})
 Provides: libdspam7-drv
-Multi-Arch: ${misc:Multi-Arch}
 Description: sqlite3 backend for DSPAM anti-spam filter
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
@@ -184,7 +179,6 @@
 Recommends: libdspam7-drv-hash (= ${binary:Version}), libdspam7-drv-mysql (= ${binary:Version}), libdspam7-drv-pgsql (= ${binary:Version}), libdspam7-drv-sqlite3 (= ${binary:Version})
 Suggests: libc-dbg
 Priority: extra
-Multi-Arch: ${misc:Multi-Arch}
 Description: debugging symbols for DSPAM related libraries
  DSPAM is a dedicated statistical filter with minimal resources. It includes
  many new algorithms to fight against spam including:
diff -Nru dspam-3.10.1+dfsg/debian/libdspam7.postrm dspam-3.10.1+dfsg/debian/libdspam7.postrm
--- dspam-3.10.1+dfsg/debian/libdspam7.postrm	2012-12-20 06:33:53.000000000 +0100
+++ dspam-3.10.1+dfsg/debian/libdspam7.postrm	2013-01-08 11:40:36.000000000 +0100
@@ -1,6 +1,11 @@
 #!/bin/sh
 set -e
 
+# Locks dspam system account on purge
+if [ "$1" = "purge" ] ; then
+    usermod -L -e 1 dspam > /dev/null || true
+fi
+
 #DEBHELPER#
 
 exit 0

Reply to: