[Pkg-sympa-devel] Bug#696487: sympa: Sympa configuration with externall database (via tcp/ip) fails

Klemens Kittan klemens.kittan at cs.uni-potsdam.de
Fri Dec 21 13:19:53 UTC 2012


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


First we installed sympa using the default configuration. Afterward we
reconfigured the package following the configuration dialog and tried
to setup a mysql database using tcp/ip. 

This failed because the address of the mysql server is not put into the
db_host variable in /etc/sympa/sympa.conf. The postinst script of the
sympa package uses $dbc_hostname, which appears not to be set
anywhere (should use $dbc_server instead).

To workaround the problem, we reconfigured the package injecting the
$dbc_hostname variable manually:

  dbc_hostname="www.example.com" dpkg-reconfigure sympa

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

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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  libarchive-zip-perl    1.30-3            Perl module for manipulation of ZI
ii  libc6                  2.11.3-4          Embedded GNU C Library: Shared lib
ii  libcgi-fast-perl       5.10.1-17squeeze4 CGI::Fast Perl module
ii  libcgi-pm-perl         3.49-1squeeze2    module for Common Gateway Interfac
ii  libcrypt-ciphersaber-p 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+squeeze1 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-p 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-tools-perl [li 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-pe 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-17squeeze4 Larry Wall's Practical Extraction 
ii  perl-modules [libcgi-p 5.10.1-17squeeze4 Core Perl modules
ii  perl-suid              5.10.1-17squeeze4 runs setuid Perl scripts
ii  postfix [mail-transpor 2.7.1-1+squeeze1  High-performance mail transport ag
ii  rsyslog [system-log-da 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+nmu3squeeze1 Common CA certificates
ii  doc-base           0.9.5                 utilities to manage online documen
ii  locales            2.11.3-4              Embedded GNU C Library: National L
ii  logrotate          3.7.8-6               Log rotation utility
ii  mysql-server       5.1.66-0+squeeze1     MySQL database server (metapackage
ii  mysql-server-5.1 [ 5.1.66-0+squeeze1     MySQL database server binaries and

Versions of packages sympa suggests:
pn  apache2 | httpd-cgi    <none>            (no description available)
pn  libapache2-mod-fcgid   <none>            (no description available)
pn  libsoap-lite-perl      <none>            (no description available)
ii  openssl                0.9.8o-4squeeze13 Secure Socket Layer (SSL) binary a

-- debconf information:
  sympa/app-password-confirm: (password omitted)
  sympa/password-confirm: (password omitted)
  sympa/pgsql/app-pass: (password omitted)
  sympa/mysql/admin-pass: (password omitted)
  sympa/pgsql/admin-pass: (password omitted)
  sympa/mysql/app-pass: (password omitted)
* sympa/dbconfig-install: true
  sympa/remote/newhost: 141.89.48.20
* sympa/listmaster: listmaster at lists.cs.uni-potsdam.de
* wwsympa/wwsympa_url: http://lists.cs.uni-potsdam.de/wws
* wwsympa/webserver_restart: true
* sympa/remote/port:
  sympa/pgsql/manualconf:
  sympa/upgrade-backup: true
  sympa/pgsql/changeconf: false
* sympa/hostname: lists.cs.uni-potsdam.de
  sympa/pgsql/authmethod-user: password
  sympa/dbconfig-upgrade: true
* sympa/use_soap: false
* sympa/db/dbname: cs_sympa
  sympa/internal/skip-preseed: false
* sympa/database-type: mysql
  sympa/db/basepath:
* sympa/remote/host: 141.89.48.20
* wwsympa/fastcgi: true
  sympa/internal/reconfiguring: false
* sympa/db/app-user: cs_sympa
  sympa/purge: false
  sympa/remove-error: abort
* wwsympa/webserver_type: Apache 2
* sympa/mysql/admin-user: root
  sympa/dbconfig-remove: true
* sympa/mysql/method: tcp/ip
  sympa/dbconfig-reinstall: false
  sympa/pgsql/admin-user: postgres
  sympa/upgrade-error: abort
* sympa/language: en_US
  sympa/pgsql/method: unix socket
* sympa/install-error: ignore
  sympa/pgsql/no-empty-passwords:
  sympa/pgsql/authmethod-admin: ident
* wwsympa/remove_spool: false
  sympa/passwords-do-not-match:
  sympa/missing-db-package-error: abort
  sympa/remove_spool: false



More information about the Pkg-sympa-devel mailing list