Package: zoneminder
Version: 1.24.2-3
Followup-For: Bug #583648

thanks for maintaining zoneminder.

the following patch *might* fix this issue, though it's likely to introduce
other issues as commands afterwards seem to assume that the mysql server is
running.

--- postinst.orig       2010-06-11 17:30:25.000000000 -0700
+++ postinst    2010-06-11 17:33:35.000000000 -0700
@@ -10,7 +10,7 @@
                # Get mysql started if it isn't
                #
                if ! $(/etc/init.d/mysql status >/dev/null 2>&1); then
-                       /etc/init.d/mysql start
+                       invoke-rc.d mysql start
                fi
                mysqladmin --defaults-file=/etc/mysql/debian.cnf -f reload
                cat /usr/share/zoneminder/db/zm_create.sql | mysql 
--defaults-file=/etc/mysql/debian.cnf


live well,
  vagrant



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to