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 _______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers