init-script: pdns provides $named, mysql requires $named

Bug #1190982 reported by Ingo Oeser
8
This bug affects 1 person
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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595120,
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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595120#15

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/percona-server-server-5.5.mysql.init.bak 2013-05-24 03:48:52.000000000 +0200
+++ debian/percona-server-server-5.5.mysql.init 2013-06-14 13:48:59.341709899 +0200
@@ -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

Ingo Oeser (ingo-b)
description: updated
Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

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

tags: added: pkg
removed: packaging
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1383

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.