Your message dated Thu, 28 Dec 2006 10:47:05 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#404140: fixed in sympa 5.2.3-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: sympa
Version: 5.2.3-0.7
Severity: grave
Tags: patch
Justification: causes non-serious data loss
wwsympa and soap can cause database corruption if running while database
upgrade :
http://listes.cru.fr/sympa/arc/sympa-users/2006-12/msg00058.html
With newer sympa versions, including 5.2.3, if wwsympa and soap detecte
that the database is outdated, they will stay in maintenance mode waiting
that sympa.pl upgrade the it.
One solution for debian is then to restart or reload apache before
upgrading the database. wwsympa will then be restarted too and will stay
in maintenance mode.
In the patch the execution of prepare-db is moved to the end of
postinst, just after apache restart. At this stade the conf files are
upgraded and wwsympa and soap can be restarted. Apache restart is
strongly recommended, maybe it should be forced ? A reload is enought.
Index: debian/postinst
===================================================================
--- debian/postinst (revision 2089)
+++ debian/postinst (working copy)
@@ -315,10 +315,9 @@
chown sympa:sympa /etc/sympa/sympa.conf
chmod 0640 /etc/sympa/sympa.conf
-
- /usr/share/sympa/db/prepare_db
fi
+
# remove depreciated WWW configuration fragment
db_get wwsympa/webserver_type
@@ -454,6 +453,10 @@
fi
fi
+if [ "$use_db" = "true" ]; then
+ /usr/share/sympa/db/prepare_db
+fi
+
## End up with debconf
db_stop
Index: debian/templates
===================================================================
--- debian/templates (revision 2084)
+++ debian/templates (working copy)
@@ -229,6 +229,9 @@
Type: boolean
Default: true
_Description: Do you want the Web server to be restarted after installation?
+ In case of sympa upgrade, if you don't want the webserver to be restarted
+ you must make sure wwsympa and sympasoap are not running or you can
+ experience database corruption.
Template: wwsympa/remove_spool
Type: boolean
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (900, 'testing'), (200, 'unstable'), (10, 'experimental')
Architecture: i386 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-xen-amd64
Locale: LANG=fr_FR, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages sympa depends on:
ii adduser 3.100 Add and remove users and groups
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc
ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries
ii libcgi-fast-perl 5.8.8-6.1 CGI::Fast Perl module
ii libcrypt-ciphersaber-perl 0.61-4 Perl module implementing CipherSab
ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the
ii libdbi-perl 1.53-1 Perl5 database interface by Tim Bu
ii libfcgi-perl 0.67-2 FastCGI Perl module
ii libintl-perl 1.16-1 Uniforum message translations syst
ii libio-stringy-perl 2.110-1 Perl5 modules for IO from scalars
ii libmailtools-perl 1.74-1 Manipulate email in perl programs
ii libmd5-perl 2.03-1 backwards-compatible wrapper for D
ii libmime-perl 5.420-0.1 Perl5 modules for MIME-compliant m
ii libmsgcat-perl 1.03-3 Locale::Msgcat perl module
ii libnet-ldap-perl 1:0.33-2 A Client interface to LDAP servers
ii libtemplate-perl 2.14-1 template processing system written
ii libxml-libxml-perl 1.59-2 Perl module for using the GNOME li
ii mhonarc 2.6.16-1 Mail to HTML converter
ii perl [libmime-base64-perl] 5.8.8-6.1 Larry Wall's Practical Extraction
ii perl-suid 5.8.8-6.1 Runs setuid Perl scripts
ii postfix [mail-transport-agen 2.3.4-3 A high-performance mail transport
ii sysklogd [system-log-daemon] 1.4.1-18 System Logging Daemon
Versions of packages sympa recommends:
ii doc-base 0.7.21 utilities to manage online documen
ii logrotate 3.7.1-3 Log rotation utility
-- debconf information:
* wwsympa/webserver_type: Apache
* sympa/listmaster: [EMAIL PROTECTED]
* wwsympa/wwsympa_url: http://test.u-picardie.fr/wws
* wwsympa/webserver_restart: true
* sympa/hostname: test.u-picardie.fr
* sympa/db_options:
sympa/soap_url:
sympa/wwsympa_configured: true
* sympa/db_name: sympa
* sympa/db_type: MySQL
* sympa/db_configured: true
sympa/soap_configured: false
* sympa/db_hostname: localhost
* sympa/language: en_US
* sympa/use_db: true
sympa/db_removeonpurge: false
* sympa/use_soap: true
* wwsympa/remove_spool: true
* sympa/db_user: sympa
* wwsympa/fastcgi: true
* sympa/use_wwsympa: true
sympa/db_authtype: Ident-based
sympa/db_port:
sympa/remove_spool: false
* sympa/smime_support: false
Index: debian/postinst
===================================================================
--- debian/postinst (revision 2089)
+++ debian/postinst (working copy)
@@ -315,10 +315,9 @@
chown sympa:sympa /etc/sympa/sympa.conf
chmod 0640 /etc/sympa/sympa.conf
-
- /usr/share/sympa/db/prepare_db
fi
+
# remove depreciated WWW configuration fragment
db_get wwsympa/webserver_type
@@ -454,6 +453,10 @@
fi
fi
+if [ "$use_db" = "true" ]; then
+ /usr/share/sympa/db/prepare_db
+fi
+
## End up with debconf
db_stop
Index: debian/templates
===================================================================
--- debian/templates (revision 2084)
+++ debian/templates (working copy)
@@ -229,6 +229,9 @@
Type: boolean
Default: true
_Description: Do you want the Web server to be restarted after installation?
+ In case of sympa upgrade, if you don't want the webserver to be restarted
+ you must make sure wwsympa and sympasoap are not running or you can
+ experience database corruption.
Template: wwsympa/remove_spool
Type: boolean
--- End Message ---
--- Begin Message ---
Source: sympa
Source-Version: 5.2.3-1
We believe that the bug you reported is fixed in the latest version of
sympa, which is due to be installed in the Debian FTP archive:
sympa_5.2.3-1.diff.gz
to pool/main/s/sympa/sympa_5.2.3-1.diff.gz
sympa_5.2.3-1.dsc
to pool/main/s/sympa/sympa_5.2.3-1.dsc
sympa_5.2.3-1_i386.deb
to pool/main/s/sympa/sympa_5.2.3-1_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefan Hornburg (Racke) <[EMAIL PROTECTED]> (supplier of updated sympa 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 28 Dec 2006 11:19:00 +0100
Source: sympa
Binary: sympa
Architecture: source i386
Version: 5.2.3-1
Distribution: unstable
Urgency: medium
Maintainer: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Changed-By: Stefan Hornburg (Racke) <[EMAIL PROTECTED]>
Description:
sympa - Modern mailing list manager
Closes: 354355 404140
Changes:
sympa (5.2.3-1) unstable; urgency=medium
.
* updated package targeted for etch (Closes: #354355)
* run database script after possible webserver restart (Closes: #404140,
thanks to Jean Charles Delepine <[EMAIL PROTECTED]> for the
report and the patch)
Files:
d85b01b7bcf8f833ba0e66b93f87ba09 589 mail optional sympa_5.2.3-1.dsc
355cb9174841205831191c93a83da895 5102528 mail optional sympa_5.2.3.orig.tar.gz
6e55bfc6aaa961a174b17d2c63aa1e94 96723 mail optional sympa_5.2.3-1.diff.gz
c844cc7e4d686bd665298121a6297f09 3566812 mail optional sympa_5.2.3-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFk50ljgVfE5tya3ERAv73AKDc8JU1MIqLtcL2RRFh4oKdSVyhewCfYdbi
HxGeN+bVITNrkyj/4V5QyB8=
=t4r4
-----END PGP SIGNATURE-----
--- End Message ---