Package: mumble-server
Version: 1.2.3-349-g315b5f5-2.2
Severity: important

Dear Maintainer,

When using mumble-server in combination with a dedicated MySQL database, rather 
than the built-in sqlite one, the daemon fails to start with the following 
error:
<F>2013-01-22 17:53:31.948 ServerDB: Failed initialization: Can't connect to 
local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) QMYSQL: 
Unable to connect

Although the init script lists MySQL in the should-start list, MySQL starts 
after mumble-server does. I think this happens because the of the virtual 
package name used in the init script, namely $mysql, which insserv doesn't seem 
to pick up:
$ cat /etc/init.d/.depend.start | grep ^mumble
mumble-server: dbus

After changing "Should-Start: $mysql" to "Should-Start: mysql" and running 
insserv, mysql is properly appended to the requirements in .depend.start (the 
same applies for Should-Stop and .depend.stop) making sure that MySQL is 
started before mumble-server does.

Also, shouldn't MySQL be listed in the "Required-*" rather than "Should-" 
specifiers given that the daemon doesn't start when MySQL isn't running yet?

Best,
Tim


-- System Information:
Debian Release: 7.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mumble-server depends on:
ii  adduser                    3.113+nmu3
ii  dbus                       1.6.8-1
ii  debconf [debconf-2.0]      1.5.49
ii  libavahi-client3           0.6.31-1
ii  libavahi-common3           0.6.31-1
ii  libavahi-compat-libdnssd1  0.6.31-1
ii  libc6                      2.13-37
ii  libcap2                    1:2.22-1.2
ii  libgcc1                    1:4.7.2-5
ii  libiceutil34               3.4.2-8.1
ii  libprotobuf7               2.4.1-3
ii  libqt4-dbus                4:4.8.2+dfsg-9
ii  libqt4-network             4:4.8.2+dfsg-9
ii  libqt4-sql                 4:4.8.2+dfsg-9
ii  libqt4-sql-sqlite          4:4.8.2+dfsg-9
ii  libqt4-xml                 4:4.8.2+dfsg-9
ii  libqtcore4                 4:4.8.2+dfsg-9
ii  libssl1.0.0                1.0.1c-4
ii  libstdc++6                 4.7.2-5
ii  libzeroc-ice34             3.4.2-8.1

mumble-server recommends no packages.

Versions of packages mumble-server suggests:
pn  mumble-django      <none>
pn  mumble-server-web  <none>

-- Configuration Files:
/etc/default/mumble-server changed [not included]
/etc/mumble-server.ini [Errno 13] Toegang geweigerd: u'/etc/mumble-server.ini'

-- debconf information excluded


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

Reply via email to