init-script: pdns provides $named, mysql requires $named
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | |||
5.5 |
Triaged
|
Medium
|
Unassigned | |||
5.6 |
Triaged
|
Medium
|
Unassigned | |||
5.7 |
Invalid
|
Medium
|
Unassigned |
Bug Description
percona server 5.5 init script still has this bug http://
making it difficult to provider a dns server with a (percona) mysql backend on the same machine.
This link describes the reasoning behind the addition of $named in the debian init-script and why it is not necessary:
http://
This has been fixed already in Debian upstream since 2010, so it's either a regression or diversion in the Percona packaging.
Proposed patch is:
--- debian/
+++ debian/
@@ -4,8 +4,8 @@
# Provides: mysql
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
-# Should-Start: $network $named $time
-# Should-Stop: $network $named $time
+# Should-Start: $network $time
+# Should-Stop: $network $time
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop the mysql (Percona Server) daemon
Same with PS 5.6.11:
openxs@debian7:~$ mysql --version
mysql Ver 14.14 Distrib 5.6.11, for Linux (i686) using EditLine wrapper
openxs@debian7:~$ head /etc/init.d/mysql
#!/bin/bash
#
### BEGIN INIT INFO
# Provides: mysql
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $network $named $time
# Should-Stop: $network $named $time
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6