installing packages that require a running mysqld

Michael Tautschnig michael.tautschnig at zt-consulting.com
Mon Jun 13 12:55:06 CEST 2005


> Hi all
> 
> I am trying to install mtop via fai.
> The problem is, that the install script tries to create a new user in the
> mysql-database which - of course - is not running at the time of installation.
> I will file a bugreport against mtop. But I would like to know if there are 
> any workarounds since this won't be the only affected package.
>

You could write a hook, but it is probably easier to add

$ROOTCMD /etc/init.d/mysql start
$ROOTCMD apt-get install mtop

to one of your scripts.

Regards,
Michael



More information about the linux-fai mailing list