Your message dated Tue, 21 Nov 2017 23:15:09 +0000
with message-id <0282e33f-f8a1-4608-5e7e-4d9dc9a4d...@debian.org>
and subject line Bug#823153: fixed in gerbera
has caused the Debian Bug report #823153,
regarding mediatomb-daemon: systemd service is not enabled automatically
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 ow...@bugs.debian.org
immediately.)


-- 
823153: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823153
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mediatomb-daemon
Version: 0.12.1-47-g7ab7616-1
Severity: important
Tags: patch

Hi,

The mediatomb source package contains the file
 "mediatomb-daemon.mediatomb.service"

However, dh_systemd_enable(1) explicitly states that service files must
be of the format "$package.service" which this file is not. Therefore
dh_systemd_enable is a noop when building mediatomb. In addition, as
of init-system-helpers 1.30, the entire call to dh_systemd_enable is
omitted because of this.

The attached patch should fix this by passing --name to
dh_systemd_enable.

Thanks,
James
diff --git a/debian/rules b/debian/rules
index b88f1a8..4fb745d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,9 @@ MEDIATOMB_CONFIG_OPTIONS ?= --enable-sqlite3 \
 override_dh_auto_configure:
 	dh_auto_configure -- $(MEDIATOMB_CONFIG_OPTIONS) --disable-silent-rules
 
+override_dh_systemd_enable:
+	dh_systemd_enable --name=mediatomb
+
 override_dh_installinit:
 	dh_installinit --name=mediatomb \
 		--update-rcd-params='defaults 98 02'

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
Source: gerbera
Source-Version: 1.0.0-1

This is fixed in gerbera by virtue of gerbera using a correctly named
systemd service file (gerbera.service).

Thanks,
James

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to