[Digikam-devel] Bug#673161: mysql-server-5.1 is available, but fails to start in chroot

Arnold Metselaar arnold.metsel at gmail.com
Thu May 17 09:55:02 BST 2012


Hi,

Being interested in digikam 2.6.0, I have tried building it for Wheezy with my own mini-buildd. 
I have discovered that while mysql-server-5.1 is still available in Wheezy, it cannot be set up
in a schroot environment.
The post installation script of mysql-server-5.1 invokes the init script to start mysqld.
The init script of mysql-server users df to check for a nearly full file system before starting, 
but df fails in a schroot environment, so nothing is started  and apt-get reports an error 
with mysql-server-5.1.

I think the schroot package is to blame here, though it may be argued that the bug should be 
reassigned to some other part of the build system, coreutils (df) or mysql-server-5.1 instead.

Regards,
Arnold 

Snippets from the build log:

Selecting previously unselected package mysql-server-core-5.1.
Unpacking mysql-server-core-5.1 (from .../mysql-server-core-5.1_5.1.61-3_i386.deb) ...
Setting up mysql-common (5.1.61-3) ...
Setting up adduser (3.113+nmu1) ...
Selecting previously unselected package mysql-server-5.1.
(Reading database ... 15839 files and directories currently installed.)
Unpacking mysql-server-5.1 (from .../mysql-server-5.1_5.1.61-3_i386.deb) ...
df: Warning: cannot read table of mounted file systems: No such file or directory
[...]
Setting up mysql-server-core-5.1 (5.1.61-3) ...
Setting up mysql-server-5.1 (5.1.61-3) ...
Stopping MySQL database server: mysqld.
df: Warning: cannot read table of mounted file systems: No such file or directory
Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.1 (--configure):
 subprocess installed post-installation script returned error exit status 1







More information about the Digikam-devel mailing list