[PKG-Openstack-devel] Bug#902013: manila: Add manila-data binary package and init template

Corey Bryant corey.bryant at canonical.com
Thu Jun 21 14:32:16 BST 2018


Package: manila
Version: 1:6.0.0-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu cosmic ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * d/control, d/manila-data.init.in: Add manila-data binary package
    and init template.


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers cosmic
  APT policy: (500, 'cosmic'), (500, 'bionic-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru manila-6.0.0/debian/control manila-6.0.0/debian/control
--- manila-6.0.0/debian/control	2018-03-26 12:49:49.000000000 -0400
+++ manila-6.0.0/debian/control	2018-06-21 09:29:50.000000000 -0400
@@ -124,6 +124,23 @@
  .
  This package contains commons components for Manila.
 
+Package: manila-data
+Architecture: all
+Depends:
+ manila-common (= ${binary:Version}),
+ ${misc:Depends},
+ ${ostack-lsb-base},
+ ${python3:Depends},
+Description: Manila storage service - Data service
+ OpenStack is a reliable cloud infrastructure. Its mission is to produce
+ the ubiquitous cloud computing platform that will meet the needs of public
+ and private cloud providers regardless of size, by being simple to implement
+ and massively scalable.
+ .
+ Manila is the OpenStack shared filesystem service.
+ .
+ This package contains the Manila Data service.
+
 Package: manila-doc
 Section: doc
 Architecture: all
diff -Nru manila-6.0.0/debian/manila-data.init.in manila-6.0.0/debian/manila-data.init.in
--- manila-6.0.0/debian/manila-data.init.in	1969-12-31 19:00:00.000000000 -0500
+++ manila-6.0.0/debian/manila-data.init.in	2018-06-21 09:30:27.000000000 -0400
@@ -0,0 +1,20 @@
+#!/bin/sh
+### BEGIN INIT INFO
+# Provides:          manila-data
+# Required-Start:    $network $local_fs $remote_fs $syslog
+# Required-Stop:     $remote_fs
+# Should-Start:      postgresql mysql keystone rabbitmq-server ntp
+# Should-Stop:       postgresql mysql keystone rabbitmq-server ntp
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Manila Data Service
+# Description:       Shared filesytem services for instances
+### END INIT INFO
+
+# Author: Corey Bryant <corey.bryant at canonical.com>
+
+# PATH should only include /usr/* if it runs after the mountnfs.sh script
+PATH=/sbin:/usr/sbin:/bin:/usr/bin
+DESC="OpenStack Manila Data Service"
+PROJECT_NAME=manila
+NAME=${PROJECT_NAME}-data


More information about the Openstack-devel mailing list