[debian-mysql] Bug#608938: Mangles ext4 lost+found on install

Anthony DeRobertis aderobertis at metrics.net
Tue Jan 4 18:35:15 UTC 2011


Package: mysql-server-5.1
Version: 5.1.49-3
Severity: important

I mounted /var/lib/mysql on a separate partition before installing
mysql-server. After installing:

root at Shamisen:~# ls -l /var/lib/mysql/
total 20492
-rw-r--r-- 1 root  root         0 Jan  4 13:18 debian-5.1.flag
-rw-rw---- 1 mysql mysql 10485760 Jan  4 13:19 ibdata1
-rw-rw---- 1 mysql mysql  5242880 Jan  4 13:23 ib_logfile0
-rw-rw---- 1 mysql mysql  5242880 Jan  4 13:18 ib_logfile1
drwx------ 2 mysql mysql     4096 Jan  4 13:18 lost at 002bfound
drwx------ 2 mysql root      4096 Jan  4 13:18 mysql
-rw------- 1 root  root         6 Jan  4 13:18 mysql_upgrade_info

Note the wrong permission lost at 002bfound directory. It also now has a
db.opt file inside it.

It'd be nice if it just ignored directories called 'lost+found'. But it
should at least not break them.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 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 mysql-server-5.1 depends on:
ii  adduser              3.112+nmu2          add and remove users and groups
ii  debconf [debconf-2.0 1.5.36              Debian configuration management sy
ii  libc6                2.11.2-7            Embedded GNU C Library: Shared lib
ii  libdbi-perl          1.612-1             Perl Database Interface (DBI)
ii  libgcc1              1:4.4.5-8           GCC support library
ii  libmysqlclient16     5.1.49-3            MySQL database client library
ii  libstdc++6           4.4.5-8             The GNU Standard C++ Library v3
ii  lsb-base             3.2-23.1            Linux Standard Base 3.2 init scrip
ii  mysql-client-5.1     5.1.49-3            MySQL database client binaries
ii  mysql-common         5.1.49-3            MySQL database common files, e.g. 
ii  mysql-server-core-5. 5.1.49-3            MySQL database server binaries
ii  passwd               1:4.1.4.2+svn3283-2 change and administer password and
ii  perl                 5.10.1-16           Larry Wall's Practical Extraction 
ii  psmisc               22.11-1             utilities that use the proc file s
ii  zlib1g               1:1.2.3.4.dfsg-3    compression library - runtime

Versions of packages mysql-server-5.1 recommends:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  libhtml-template-p 2.9-2                 module for using HTML Templates wi

Versions of packages mysql-server-5.1 suggests:
pn  tinyca                        <none>     (no description available)

-- debconf information:
  mysql-server/error_setting_password:
  mysql-server-5.1/nis_warning:
  mysql-server-5.1/really_downgrade: false
  mysql-server-5.1/start_on_boot: true
  mysql-server-5.1/postrm_remove_databases: false
  mysql-server/password_mismatch:
  mysql-server/no_upgrade_when_using_ndb:







More information about the pkg-mysql-maint mailing list