[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#768970: marked as done (unblock: openstack-pkg-tools/17)



Your message dated Mon, 10 Nov 2014 20:05:57 +0100
with message-id <54610C95.5090701@thykier.net>
and subject line Re: Bug#768970: unblock: openstack-pkg-tools/17
has caused the Debian Bug report #768970,
regarding unblock: openstack-pkg-tools/17
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
768970: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768970
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Dear release team,

The version 16 of openstack-pkg-tools attempted to support systemd,
but it wasn't creating /var/run/<PROJECT-NAME>, and therefore, it
isn't possible to start daemons properly if using systemd in Jessie.
Version 17 corrects the problem, together with adding the possibility
to *not* use --config-file, as this is needed to fix another bug.

Please unblock openstack-pkg-tools/17.

Once this upload is approved, I'll have to proceed with uploading
updates for all OpenStack core packages, which is needed anyway to
add new Debconf translations which were sent to the BTS.

Cheers,

Thomas Goirand (zigo)
diff --git a/debian/changelog b/debian/changelog
index 84a6a18..dd170aa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+openstack-pkg-tools (17) unstable; urgency=medium
+
+  * Make it possible to have no --config-file= argument for the daemon.
+  * Adds a RuntimeDirectory=/var/run/${PROJECT_NAME} in the systemd template,
+    so that /var/run/${PROJECT_NAME} can be created on boot (Closes: #767711).
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 29 Oct 2014 00:31:49 +0800
+
 openstack-pkg-tools (16) unstable; urgency=medium
 
   * Fix some upstart job generation handling for murano-agent.
diff --git a/init-template/init-script-template b/init-template/init-script-template
index 810fc34..0326b5d 100644
--- a/init-template/init-script-template
+++ b/init-template/init-script-template
@@ -29,7 +29,9 @@ if [ -z "${CONFIG_FILE}" ] ; then
 	CONFIG_FILE=/etc/${PROJECT_NAME}/${PROJECT_NAME}.conf
 fi
 LOGFILE=/var/log/${PROJECT_NAME}/${NAME}.log
-DAEMON_ARGS="${DAEMON_ARGS} --config-file=${CONFIG_FILE}"
+if [ -z "${NO_OPENSTACK_CONFIG_FILE_DAEMON_ARG}" ] ; then
+	DAEMON_ARGS="${DAEMON_ARGS} --config-file=${CONFIG_FILE}"
+fi
 
 # Exit if the package is not installed
 [ -x $DAEMON ] || exit 0
diff --git a/init-template/pkgos-gen-systemd-unit b/init-template/pkgos-gen-systemd-unit
index 0ce0858..8168319 100755
--- a/init-template/pkgos-gen-systemd-unit
+++ b/init-template/pkgos-gen-systemd-unit
@@ -35,6 +35,7 @@ User=${SYSTEM_USER}
 Group=${SYSTEM_GROUP}
 ExecStart=${SCRIPTNAME} systemd-start
 ExecStop=${SCRIPTNAME} systemd-stop
+RuntimeDirectory=/var/run/${PROJECT_NAME}
 PIDFile=/var/run/${PROJECT_NAME}/${NAME}.pid
 Restart=on-failure
 Type=forking

--- End Message ---
--- Begin Message ---
On 2014-11-10 14:45, Thomas Goirand wrote:
> Package: release.debian.org
> Severity: normal
> User: release.debian.org@packages.debian.org
> Usertags: unblock
> 
> Dear release team,
> 
> The version 16 of openstack-pkg-tools attempted to support systemd,
> but it wasn't creating /var/run/<PROJECT-NAME>, and therefore, it
> isn't possible to start daemons properly if using systemd in Jessie.
> Version 17 corrects the problem, together with adding the possibility
> to *not* use --config-file, as this is needed to fix another bug.
> 
> Please unblock openstack-pkg-tools/17.
> 
> Once this upload is approved, I'll have to proceed with uploading
> updates for all OpenStack core packages, which is needed anyway to
> add new Debconf translations which were sent to the BTS.
> 
> Cheers,
> 
> Thomas Goirand (zigo)
> 

Unblocked version 19 and this time closing the bug too.

~Niels

--- End Message ---

Reply to: