Your message dated Sat, 25 Nov 2017 06:35:00 +0000
with message-id <4a419510-58df-5d97-2f81-4be0528d1...@debian.org>
and subject line Bug#769325: mediatomb: Mediatomb does not work with systemd
has caused the Debian Bug report #769325,
regarding mediatomb: Mediatomb does not work with systemd
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.)
--
769325: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769325
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mediatomb
Version: 0.12.1-7
Severity: grave
Tags: patch
Justification: renders package unusable
Dear Maintainer,
version 0.12.1-7 does not start when using systemd without a useable error
message:
> Process: 2788 ExecStart=/usr/bin/mediatomb -d -u $MT_USER -g $MT_GROUP -P
> /run/mediatomb.pid -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR -p $MT_PORT -e
> $MT_INTERFACE (code=exited, status=0/SUCCESS)
> Process: 2785 ExecStartPre=/sbin/ifconfig $MT_INTERFACE allmulti
> (code=exited, status=0/SUCCESS)
> Process: 2782 ExecStartPre=/sbin/route add -net 239.0.0.0 netmask 255.0.0.0
> $MT_INTERFACE (code=exited, status=0/SUCCESS)
> Process: 2779 ExecStartPre=/bin/grep -q MT_USER /etc/default/mediatomb
> (code=exited, status=0/SUCCESS)
> Main PID: 2789 (code=exited, status=1/FAILURE)
Even if it started, it wouldn't work, as it does not read the configuration
file /etc/mediatomb/config.xml, which can be seen in
/lib/systemd/system/mediatomb.service:
> ExecStart=/usr/bin/mediatomb -d -u $MT_USER -g $MT_GROUP -P
> /run/mediatomb.pid -l $MT_LOGFILE -m $MT_HOME -f $MT_CFGDIR -p $MT_PORT -e
> $MT_INTERFACE
Additionally, it does not seem to make sense to have /etc/default/mediatomb,
as nearly all options are duplicates of options in
/etc/mediatomb/config.xml. It is completely unclear to a normal user which
value is used, if the values of both files differ.
Mediatomb had working systemd support before these changes had been applied.
These changes should thus probably be reverted. Alternatively,
/etc/default/mediatomb should be deleted and
/lib/systemd/system/mediatomb.service should be changed into
> [Unit]
> Description=UPnP MediaServer
> After=NetworkManager-wait-online.service network.target
>
> [Service]
> Type=forking
> PIDFile=/run/mediatomb.pid
> ExecStart=/usr/bin/mediatomb -d -c /etc/mediatomb/config.xml -P
> /run/mediatomb.pid
>
> [Install]
> WantedBy=multi-user.target
Kind regards
Patrick
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'stable'), (500,
'testing-proposed-updates'), (400, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-3-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mediatomb depends on:
ii chromium [www-browser] 38.0.2125.101-3
ii iceweasel [www-browser] 31.2.0esr-3
ii konqueror [www-browser] 4:4.14.2-1
ii mediatomb-daemon 0.12.1-7
ii rekonq [www-browser] 2.4.2-0ubuntu2
ii w3m [www-browser] 0.5.3-19
mediatomb recommends no packages.
mediatomb suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gerbera
Source-Version: 1.0.0-1
Hi,
I think this bug is fixed in gerbera. The gerbera package has a much
simpler systemd service file (all it does is invoke the main program)
and the /etc/default file has been removed so all configuration is read
from config.xml now.
It would be good if you could test it and reply if there is still a problem.
Thanks,
James
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