[Pkg-dspam-misc] Bug#466992: libdspam7-drv-mysql.cron.daily has a strange way of determining type of $MYSQL_HOST

kaouete kaouete at crazydwarves.org
Fri Feb 22 10:47:19 UTC 2008


Package: libdspam7-drv-mysql
Version: 3.6.8-5etch1
Severity: normal

Hello

I think that libdspam7-drv-mysql.cron.daily is really strange in the way it tries to
determine the type of $MYSQL_HOST.

the first test succeed if MYSQL_HOST is empty or beginning with a /
if it fails, we test *again* if it is beginning with a / (and we do 
it differently that in the first test ...) !

Should'nt the first test be only to test if MYSQL_HOST is empty ?

Sorry if I misunderstood something,

Thanks



-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (991, 'proposed-updates'), (990, 'stable'), (450, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-4-vserver-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages libdspam7-drv-mysql depends on:
ii  dbconfig-common        1.8.29+etch1      common framework for packaging dat
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libdspam7              3.6.8-5etch1      DSPAM is a scalable and statistica
ii  libldap2               2.1.30-13.3       OpenLDAP libraries
ii  libmysqlclient15off    5.0.51-3~bpo40+1  MySQL database client library
ii  mysql-client           5.0.51-3~bpo40+1  MySQL database client (meta packag
ii  mysql-client-5.0 [mysq 5.0.51-3~bpo40+1  MySQL database client binaries
ii  ucf                    2.0020            Update Configuration File: preserv
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages libdspam7-drv-mysql recommends:
ii  mysql-server            5.0.51-3~bpo40+1 MySQL database server (meta packag
ii  mysql-server-5.0 [mysql 5.0.51-3~bpo40+1 MySQL database server binaries

-- debconf information:
  libdspam7-drv-mysql/db/app-user:
  libdspam7-drv-mysql/db/dbname:
  libdspam7-drv-mysql/mysql/method: unix socket
  libdspam7-drv-mysql/dbconfig-remove: true
  libdspam7-drv-mysql/mysql/admin-user: root
  libdspam7-drv-mysql/purge: false
  libdspam7-drv-mysql/internal/reconfiguring: false
  libdspam7-drv-mysql/import-oldsettings:
  libdspam7-drv-mysql/internal/skip-preseed: false
  libdspam7-drv-mysql/remote/port:
  libdspam7-drv-mysql/dbconfig-reinstall: false
  libdspam7-drv-mysql/performing_upgrade: true
  libdspam7-drv-mysql/passwords-do-not-match:
  libdspam7-drv-mysql/remove-error: abort
  libdspam7-drv-mysql/database-type: mysql
  libdspam7-drv-mysql/remote/newhost:
  libdspam7-drv-mysql/upgrade-backup: true
  libdspam7-drv-mysql/install-error: abort
  libdspam7-drv-mysql/upgrade-error: abort
* libdspam7-drv-mysql/dbconfig-install: false
  libdspam7-drv-mysql/remote/host:
  libdspam7-drv-mysql/dbconfig-upgrade: true





More information about the Pkg-dspam-misc mailing list