-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2017-12-26 a las 23:12 -0000, Bob Williams escribió:
On Tue, 26 Dec 2017 20:59:16 +0100 (CET) "Carlos E. R." <> wrote:
On Tuesday, 2017-12-26 at 11:43 -0000, Bob Williams wrote:
For some time I have been successfully running a minidlna server which streams music to a Bose Soundtouch device over WiFi. However, it stopped working a few weeks ago, and the SoundTouch device could only find an empty folder.
After several re-writes of /etc/minidlna.conf without success, searching for other versions of minidlna.conf in non-default locations, I finally tracked the culprit down to /usr/lib/systemd/system/minidlna.service:
[Unit] Description=MiniDLNA UPnP-A/V and DLNA media server After=var-run.mount nss-lookup.target network.target remote-fs.target
[Service] Type=forking PIDFile=/var/run/minidlnad.pid ExecStartPre=/usr/sbin/minidlnaconfig EnvironmentFile=-/var/lib/minidlna/rescan.conf ExecStart=/usr/sbin/minidlnad $RESCAN -P /var/run/minidlnad.pid -f /var/lib/minidlna/minidlna.conf [0]
[Install] WantedBy=multi-user.target
So the unit file was forcing minidlna to use the configuration file in /var/lib/minidlna/minidlna.conf rather than the default /etc/minidlna.conf! /var/lib/minidlna/minidlna.conf pointed to media_dir=/mnt and was recreated at start-up, so even editing the media_dir= line didn't work. Changing line [0] to include "-f /etc/minidlna.conf" got things working again - and just in time for Christmas. ;-)
I have no idea how this got changed, but I wonder if anyone else has come across anything similar?
You will have to say which openSUSE release you are using, and from what repo you downloded "minidlna" and what version.
Leap 42.3 minidlna 1.2.1-5.1-x86_64 from packman
IMHO you should comment this on the packman mail list. - -- Cheers Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlpLecMACgkQja8UbcUWM1z1BwD/Xxfad0uKwdN90isiQcrQHasm yB+gjYyLdwck+YfMQzMA/2uy5w1lZuW4qcaaX/G8qnfoX+uiJFvm0N6HdwpJN0qX =oMaS -----END PGP SIGNATURE-----