[debian-mysql] Bug#595120: dependency loop

Juha Heinanen jh at tutpro.com
Wed Sep 1 07:30:43 UTC 2010


Package: mysql-server-5.1
Version: 5.1.49-1
Severity: grave
Justification: prevents installation of debian squeeze

there is dependency loop between mysql-server-5.1 package and
pdns-server package:

from message http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594805#35:

  pdns provides $named and wants to start after mysql, while mysql wants
  to start after $named.  This leads to this dependency loop: mysql ->
  $named -> pdns -> mysql -> $named.

the loop makes installation of pdns-server after mysql-server-5.1
impossible and after that installation of many other packages fail too.
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594805#30 on how to
reproduce the problem.

i don't know how the init info system has been designed, but requiring
that mysql server must be started after named has been started makes no
sense, because existence of named on a host does not mean that mysql
server would use it.

in my opinion an entry should be included on init info Should-Start line
only a service only if the service would fail to start unless the other
service is already running.  this is not the case with mysqld, which
starts ok even when a name server deamon is not running.

so could you please drop $named from mysql init script Should lines.

i already tried to get mysql dropped from pdns Should lines, but failed
(debian bug 594805).

-- juha





More information about the pkg-mysql-maint mailing list