Package: designate-api
Version: 2014.1-15
Severity: grave
Tags: patch

The designate-api service fails to start because the NAME variable in
the init script is set to "-api" instead of "designate-api". This is due
to using a substitution variable $SERVICE_NAME which is not defined. The
variable $PROJECT_NAME should be used instead. The patch below fixes
this issue.

Gaudenz

diff --git a/debian/designate-api.init.in b/debian/designate-api.init.in
index 52a69fd..ee7435f 100644
--- a/debian/designate-api.init.in
+++ b/debian/designate-api.init.in
@@ -17,4 +17,4 @@
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 DESC="Designate DNSaaS API"
 PROJECT_NAME=designate
-NAME=${SERVICE_NAME}-api
+NAME=${PROJECT_NAME}-api


-- System Information:
Debian Release: 8.0
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (100, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


-- 
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