installing packages that require a running mysqld

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


> On Mon, Jun 13, 2005 at 01:17:52PM +0200, Michael Tautschnig wrote:
> > > > $ROOTCMD /etc/init.d/mysql start
> > >            ^^^^^^^^^^^^^^^^^
> > > wouldn't that fail (be a no-op) due to the divert of start-stop-daemon?
> > 
> > AFAIK mysql does not use start-stop-daemon -- but I might have overlooked
> > something...
> 
> You're right (and my memory failed me again - got to get some more c0ffee)
> - so mysql is a bit different. 
> Thinking a bit longer about it, it makes some sense to *not* start it 
> during the installation...
>

Alternatively, one could run "apt-get install mtop" only, if mysqld is running,
i.e., during a softupdate. That might cause less trouble ...

Michael



More information about the linux-fai mailing list