Package: mysql-server Version: 5.5.40-0+wheezy1 Severity: important Dear Maintainer, I use zfs (in particullary zfsutils package from http://archive.zfsonlinux.org/debian wheezy main repository) as a storage to mysql datafiles. Mount point is default mysql location, /var/lib/mysql. All mysql data files are located on zfs filesystem, which must be mount on system boot. But on my system mysql started before zfs because of no dependency mysql of zfs:
Zfs mount script from zfsutils package have this init information (part of file) in its /etc/init/zfs-mount file: # Provides: zvol zfs zfs-mount # Required-Start: $local_fs # Required-Stop: # X-Stop-After: umountfs And mysql start script from mysql-server-5.5 package have this init information (also part of file) in its /etc/init.d/mysql file: # Provides: mysql # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Should-Start: $network $time # Should-Stop: $network $time So, after each reboot i must stop mysql, mount zfs and start mysql again by hand. As of Should-Start parameter in init script satisfy dependency only if it present on system, it will be no harmful to add there zfs-mount dependency: # Should-Start: $network $time $zfs-mount Can you add this dependency on next release? Thanks a lot! -- System Information: Debian Release: 7.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mysql-server depends on: ii mysql-server-5.5 5.5.40-0+wheezy1 mysql-server recommends no packages. mysql-server suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org