Public bug reported: Ubuntu 16.04.1 LTS MediaTomb version: 0.12.1-47-g7ab7616-1ubuntu2
The contents of /etc/default/mediatomb are used by 3 start-up scripts, but the usage is inconsistent. /etc/init/mediatomb.conf expects variables NOT to be prefixed with "MT_" (ex: INTERFACE vs MT_INTERFACE). /etc/init.d/mediatomb expects "MT_" prefixed variables, except for the OPTIONS variable, and ignores the MT_PORT variable. /lib/systemd/system/mediatomb.service expects "MT_" prefixed variables, ignores the OPTIONS variable, and expect the port to be in the MT_PORT variable. Since the interface is also specified in the /etc/mediatomb/config.xml file, perhaps the MT_INTERFACE variable should be removed to reduce confusion. I'm not sure why all 3 start-up scripts are installed, but at least they should behave consistently if they all use the same defaults file. ** Affects: mediatomb (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1653200 Title: Inconsistent use of defaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/1653200/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs