Package: minidlna
Version: 1.1.6+dfsg-1
Followup-For: Bug #857849

Dear Maintainer,

I installed minidlna on Stretch. Fresh installation without any
modification to config file seems to work : right after install, minidlna
is started (by systemd ?) and is recognised by other devices.
Command 'pgrep minidlna' returns the pid of minidlna.

As soon as I modify minidlna to work under another user id (and only that), 
it doesn't work anymore : 
- it is not recognised by another device,
- pgrep minidlna returns nothing,
- systemctl status minidlna returns

        minidlna.service - LSB: minidlna server
           Loaded: loaded (/etc/init.d/minidlna; generated; vendor preset: 
enabled)
           Active: active (exited) since Thu 2017-03-16 21:10:57 CET; 2s ago
                 Docs: man:systemd-sysv-generator(8)
          Process: 7011 ExecStop=/etc/init.d/minidlna stop (code=exited, 
status=0/SUCCESS)
          Process: 7019 ExecStart=/etc/init.d/minidlna start (code=exited, 
status=0/SUCCESS)

        mar 16 21:10:57 ely systemd[1]: Starting LSB: minidlna server...
        mar 16 21:10:57 ely systemd[1]: Started LSB: minidlna server.

If, in addition to the user, I modifiy the config file to specify another
media dir (on which the specified user has all necessary rights) to obtain
the config file listed below, systemctl status minidlna returns another
error :
        minidlna.service - LSB: minidlna server
           Loaded: loaded (/etc/init.d/minidlna; generated; vendor preset: 
enabled)
           Active: active (exited) since Thu 2017-03-16 21:16:44 CET; 1s ago
                 Docs: man:systemd-sysv-generator(8)
          Process: 9391 ExecStop=/etc/init.d/minidlna stop (code=exited, 
status=0/SUCCESS)
          Process: 9399 ExecStart=/etc/init.d/minidlna start (code=exited, 
status=0/SUCCESS)

        mar 16 21:16:44 ely systemd[1]: Starting LSB: minidlna server...
        mar 16 21:16:44 ely minidlna[9399]: [2017/03/16 21:16:44] 
minidlna.c:613: error: Media directory "A,/home/eddy/documents/musique
        mar 16 21:16:44 ely systemd[1]: Started LSB: minidlna server.

(and still pgrep minidlna returns nothing).

On the other hand, starting minidlna manually by command
        /usr/sbin/minidlnad
either as root or as user eddy works as expected.

Hope this can be of any help.
Thanks for your work,

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages minidlna depends on:
ii  adduser          3.115
ii  libavformat57    7:3.2.4-1
ii  libavutil55      7:3.2.4-1
ii  libc6            2.24-9
ii  libexif12        0.6.21-2
ii  libflac8         1.3.2-1
ii  libid3tag0       0.15.1b-12
ii  libjpeg62-turbo  1:1.5.1-2
ii  libogg0          1.3.2-1
ii  libsqlite3-0     3.16.2-3
ii  libvorbis0a      1.3.5-4
ii  lsb-base         9.20161125

minidlna recommends no packages.

minidlna suggests no packages.

-- Configuration Files:
/etc/minidlna.conf changed:
user=eddy
media_dir=A,/home/eddy/documents/musique
port=8200
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg


-- no debconf information

Reply via email to