Package: sympa
Version: 5.3.4-6.1
Severity: important
Tags: patch

When accessing an RSS feed sympa enters a loop, system load goes up to 100% and 
the web interface hangs.
wwsympa.fcgi process strace and logs show a problem with paths including a 
multiple '/'.

stat("/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/shared//", {st_mode=S_IFDIR|0771, 
st_size=4096, ...}) = 0
stat("/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/shared///.desc", 0x602130) = -1 
ENOENT (No such file or directory)

Mar  8 00:54:53 system wwsympa[12361]: List::new() List::new(xxxx, 
xxx.xxxx.xxx, ) 
Mar  8 00:54:53 system wwsympa[12361]: List::load() List::load(xxxx, 
xxxx.xxxx.xxx, ) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::new() 
Lock::new(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config,) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::lock() 
Lock::lock(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock,read) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_lock_file() 
Lock::_lock_file(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock,read,5) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_lock_file() Got lock for read on 
/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock 
Mar  8 00:54:53 system wwsympa[12361]: Lock::unlock() 
Lock::unlock(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_unlock_file() 
Lock::_unlock_file(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_unlock_file() Release lock on 
/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock 
Mar  8 00:54:53 system wwsympa[12361]: List::new() List::new(xxxx, 
xxxx.xxxx.xxx, ) 
Mar  8 00:54:53 system wwsympa[12361]: List::load() List::load(xxxx, 
xxxx.xxxx.xxx, ) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::new() 
Lock::new(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config,) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::lock() 
Lock::lock(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock,read) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_lock_file() 
Lock::_lock_file(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock,read,5) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_lock_file() Got lock for read on 
/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock 
Mar  8 00:54:53 system wwsympa[12361]: Lock::unlock() 
Lock::unlock(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_unlock_file() 
Lock::_unlock_file(/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock) 
Mar  8 00:54:53 system wwsympa[12361]: Lock::_unlock_file() Release lock on 
/var/lib/sympa/expl/xxxx.xxxx.xxx/xxxx/config.lock 
Mar  8 00:54:53 system wwsympa[12361]: List::request_action() rule true()      
,md5,do_it accepted 
Mar  8 00:54:53 system wwsympa[12361]: List::check_list_authz() 
List::check_list_authz shared_doc.d_read,md5 
Mar  8 00:54:53 system wwsympa[12361]: List::request_action() 
List::request_action shared_doc.d_read,md5,xxxx.xxxx.xxx 

It's a known bug and there is a workaround:

https://sourcesup.cru.fr/tracker/?group_id=23&atid=167&func=detail&aid=5872

I attached the patch for Debian stable, I'm using it in a production enviroment 
and it works.

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

Kernel: Linux 2.6.26-1-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=it_IT, LC_CTYPE=it_IT (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages sympa depends on:
ii  adduser                 3.110            add and remove users and groups
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
ii  exim4-daemon-heavy [mai 4.69-9           Exim MTA (v4) daemon with extended
ii  libarchive-zip-perl     1.18-1           Module for manipulation of ZIP arc
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libcgi-fast-perl        5.10.0-19        CGI::Fast Perl module
ii  libcrypt-ciphersaber-pe 0.61-4           Perl module implementing CipherSab
ii  libdbd-mysql-perl       4.007-1          A Perl5 database interface to the 
ii  libdbi-perl             1.605-1          Perl5 database interface by Tim Bu
ii  libintl-perl            1.16-4           Uniforum message translations syst
ii  libio-stringy-perl      2.110-4          Perl modules for IO from scalars a
ii  libmailtools-perl       2.03-1           Manipulate email in perl programs
ii  libmd5-perl             2.03-1           backwards-compatible wrapper for D
ii  libmime-charset-perl    1.006.2-2        Charset Informations for MIME
ii  libmime-encwords-perl   1.010.101-1      deal with RFC-1522 encoded words
ii  libmime-perl            5.427-1          transitional dummy package
ii  libmime-tools-perl [lib 5.427-1          Perl5 modules for MIME-compliant m
ii  libmsgcat-perl          1.03-4+b1        Locale::Msgcat perl module
ii  libnet-ldap-perl        1:0.36-1         A Client interface to LDAP servers
ii  libtemplate-perl        2.19-1.1lenny1.1 template processing system written
ii  libxml-libxml-perl      1.66-1+b1        Perl module for using the GNOME li
ii  lsb-base                3.2-20           Linux Standard Base 3.2 init scrip
ii  mhonarc                 2.6.16-1         Mail to HTML converter
ii  perl [libmime-base64-pe 5.10.0-19        Larry Wall's Practical Extraction 
ii  perl-suid               5.10.0-19        Runs setuid Perl scripts
ii  sysklogd [system-log-da 1.5-5            System Logging Daemon

Versions of packages sympa recommends:
pn  doc-base                      <none>     (no description available)
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages sympa suggests:
ii  apache2                  2.2.9-10+lenny2 Apache HTTP Server metapackage
ii  apache2-mpm-prefork [htt 2.2.9-10+lenny2 Apache HTTP Server - traditional n
ii  libapache2-mod-fcgid     1:2.2-1         an alternative module compat with 
pn  libsoap-lite-perl        <none>          (no description available)
ii  mysql-server             5.0.51a-24      MySQL database server (metapackage
ii  mysql-server-5.0 [mysql- 5.0.51a-24      MySQL database server binaries
ii  openssl                  0.9.8g-15       Secure Socket Layer (SSL) binary a

-- debconf information:
* wwsympa/webserver_type: Apache 2
* sympa/listmaster: listmas...@liste.bfsf.info
* wwsympa/wwsympa_url: http://liste.bfsf.info/wws
* wwsympa/webserver_restart: true
* sympa/hostname: liste.bfsf.info
* sympa/db_options:
* sympa/soap_url: http://liste.bfsf.info/sympasoap
  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: it
* sympa/use_db: true
  sympa/db_removeonpurge: false
* sympa/use_soap: false
* wwsympa/remove_spool: false
* 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: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to