installing packages that require a running mysqld

Steffen Grunewald steffen.grunewald at aei.mpg.de
Mon Jun 13 13:10:27 CEST 2005


On Mon, Jun 13, 2005 at 12:55:06PM +0200, Michael Tautschnig wrote:
> > 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
           ^^^^^^^^^^^^^^^^^
wouldn't that fail (be a no-op) due to the divert of start-stop-daemon?

> $ROOTCMD apt-get install mtop


Cheers,
 Steffen



More information about the linux-fai mailing list