[Pkg-sympa-devel] Bug#630384: sympa: Upgrade can take hours

David Prévot taffit at debian.org
Mon Jun 13 16:37:14 UTC 2011


Package: sympa
Version: 6.0.1+dfsg-4
Severity: normal

Hi,

First of all, thanks for maintaining Sympa in Debian!

I just upgraded a production server to Squeeze, and was stuck in the
postinst script, because a big directory was checked, twice:
	chown -R sympa:sympa /var/spool/sympa /var/lib/sympa
	chmod -R ug=rwX,o=X /var/spool/sympa /var/lib/sympa
and
	chown -R sympa:sympa /var/spool/sympa/wws* /var/lib/sympa/wws*
	chmod -R ug=rwX,o=X /var/spool/sympa/wws* /var/lib/sympa/wws*
took more than an hour on my tiny server that hosts some lists, because
of the archive size I guess:
	# find /var/lib/sympa/wwsarchive -name \* | wc -l
	427302
	# du -sh /var/lib/sympa/wwsarchive
	35G     /var/lib/sympa/wwsarchive

I wonder if ensuring the correct rights is really mandatory in postinst,
maybe could it be done in a monthly cronjob instead or whatever:
blocking the upgrade more than an hour is quite disturbing.

Regards

David

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sympa depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  dbconfig-common         1.8.46+squeeze.0 common framework for packaging dat
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  exim4-daemon-heavy [mai 4.72-6+squeeze2  Exim MTA (v4) daemon with extended
ii  libarchive-zip-perl     1.30-3           Perl module for manipulation of ZI
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcgi-fast-perl        5.10.1-17        CGI::Fast Perl module
ii  libcgi-pm-perl          3.49-1squeeze1   module for Common Gateway Interfac
ii  libcrypt-ciphersaber-pe 0.61-4           Perl module implementing CipherSab
ii  libdbd-mysql-perl       4.016-1          Perl5 database interface to the My
ii  libdbd-pg-perl          2.17.1-2         Perl DBI driver for the PostgreSQL
ii  libdbd-sqlite3-perl     1.29-3           Perl DBI driver with a self-contai
ii  libdbi-perl             1.612-1          Perl Database Interface (DBI)
ii  libfile-copy-recursive- 0.38-1           Perl extension for recursively cop
ii  libhtml-format-perl     2.04-2           format HTML syntax trees into text
ii  libhtml-stripscripts-pa 1.03-1           module to filter scripts out of HT
ii  libhtml-tree-perl       3.23-2           Perl module to represent and creat
ii  libintl-perl            1.20-1           Uniforum message translations syst
ii  libio-stringy-perl      2.110-4          Perl modules for IO from scalars a
ii  libmailtools-perl       2.06-1           Manipulate email in perl programs
ii  libmime-charset-perl    1.008-1          Perl module for MIME character set
ii  libmime-encwords-perl   1.012-1          Perl interface to deal with RFC 20
ii  libmime-lite-html-perl  1.23-1           Transform HTML page into MIME emai
ii  libmime-perl            5.427-2          transitional dummy package
ii  libmime-tools-perl [lib 5.428-1          Perl5 modules for MIME-compliant m
ii  libmsgcat-perl          1.03-5           Locale::Msgcat perl module
ii  libnet-ldap-perl        1:0.4001-2       client interface to LDAP servers
ii  libnet-netmask-perl     1.9015-4         parse, manipulate and lookup IP ne
ii  libregexp-common-perl   2010010201-1     module with common regular express
ii  libtemplate-perl        2.22-0.1         template processing system written
ii  libterm-progressbar-per 2.09-6           Perl module to print a progress ba
ii  libxml-libxml-perl      1.70.ds-1        Perl interface to the libxml2 libr
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  mhonarc                 2.6.16-1         Mail to HTML converter
ii  perl                    5.10.1-17        Larry Wall's Practical Extraction 
ii  perl-modules [libcgi-pm 5.10.1-17        Core Perl modules
ii  perl-suid               5.10.1-17        runs setuid Perl scripts
ii  rsyslog [system-log-dae 4.6.4-2          enhanced multi-threaded syslogd
ii  sqlite3                 3.7.3-1          A command line interface for SQLit

Versions of packages sympa recommends:
ii  ca-certificates            20090814+nmu2 Common CA certificates
ii  doc-base                   0.9.5         utilities to manage online documen
ii  locales                    2.11.2-10     Embedded GNU C Library: National L
ii  logrotate                  3.7.8-6       Log rotation utility
ii  mysql-server               5.1.49-3      MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-se 5.1.49-3      MySQL database server binaries and

Versions of packages sympa suggests:
ii  apache2                2.2.16-6+squeeze1 Apache HTTP Server metapackage
ii  apache2-mpm-worker [ht 2.2.16-6+squeeze1 Apache HTTP Server - high speed th
ii  libapache2-mod-fcgid   1:2.3.6-1         an alternative module compat with 
ii  libsoap-lite-perl      0.712-2           Perl implementation of a SOAP clie
ii  openssl                0.9.8o-4squeeze1  Secure Socket Layer (SSL) binary a





More information about the Pkg-sympa-devel mailing list