[debian-mysql] Bug#544970: mysql-common: Obnoxious 'find *.ISM' in preinst if --datadir default is missing

Ryan Underwood nemesis at icequake.net
Fri Sep 4 01:46:14 UTC 2009


Package: mysql-common
Version: 5.0.51a-24+lenny2
Severity: important


My upgrade to 5.0.51a-24+lenny2 seemed to hang during the preinst process again
and again.  Looking into the matter I found that it executed a 'find -name
*.ISM' in the root directory, which traversed the whole /afs space.  (In AFS
terms, this is equivalent to spidering http://*)

The reason for this error is the following line in preinst:
cvt_datadir=`cvt_get_param datadir`

For some reason, there is no "--datadir" default on my system, and thus this
variable comes back empty, causing the reported behavior.  Perhaps no one else
notices this because the find executes in finite time on their system, if long
:-)

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-bpo.1-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

-- no debconf information





More information about the pkg-mysql-maint mailing list