control: severity -1 normal Hi Matthias,
Matthias Bodenbinder <matth...@bodenbinder.de> writes: > As soon as I switched to systemd the minidlna service is not starting at boot > time anymore. A manual start after boot is working. > journalctl says: > > Apr 12 15:04:16 rakete minidlna[1241]: [2014/04/12 15:04:16] getifaddr.c:73: > error: ioctl(s, SIOCGIFADDR, ...): Die angeforderte Adresse kann nicht > zugewiesen werden > Apr 12 15:04:16 rakete minidlna[1241]: [2014/04/12 15:04:16] getifaddr.c:73: > error: ioctl(s, SIOCGIFADDR, ...): Kein passendes Ger?t gefunden > Apr 12 15:04:16 rakete minidlna[1241]: [2014/04/12 15:04:16] minidlna.c:761: > No > IP address automatically detected! > Apr 12 15:04:16 rakete minidlna[1241]: [2014/04/12 15:04:16] minidlna.c:786: > error: Usage: > Apr 12 15:04:16 rakete minidlna[1241]: /usr/bin/minidlna [-d] [-v] [-f > config_file] > Apr 12 15:04:16 rakete minidlna[1241]: [-a listening_ip] [-p port] > Apr 12 15:04:16 rakete minidlna[1241]: [-s serial] [-m model_number] > Apr 12 15:04:16 rakete minidlna[1241]: [-t notify_interval] [-P pid_filename] > Apr 12 15:04:16 rakete minidlna[1241]: [-w url] [-R] [-V] [-h] > Apr 12 15:04:16 rakete minidlna[1241]: Notes: > Apr 12 15:04:16 rakete minidlna[1241]: Notify interval is in seconds. Default > is 895 seconds. > Apr 12 15:04:16 rakete minidlna[1241]: Default pid file is > /run/minidlna/minidlna.pid. > Apr 12 15:04:16 rakete minidlna[1241]: With -d minidlna will run in debug mode > (not daemonize). > Apr 12 15:04:16 rakete minidlna[1241]: -w sets the presentation url. Default > is > http address on port 80 > Apr 12 15:04:16 rakete minidlna[1241]: -h displays this text > Apr 12 15:04:16 rakete minidlna[1241]: -R forces a full rescan > Apr 12 15:04:16 rakete minidlna[1241]: -L do note create playlists > Apr 12 15:04:16 rakete minidlna[1241]: -V print the version number > > > Looks like the network is not ready while mindlna is fired up. I could fix the > problem by adding a "sleep 5" right at the beginning of > /etc/init.d/minidlna. Please read this discussion: http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/2014-February/001538.html tl;dr: fix the application to not assume that network is a static thing that is configured at some point. More helpfully, the upcoming 204-9 upload with its insserv changes might actually help here, but you should still get the application fixed. Feel free to reassign the bug against minidlna itself. -- Best regards, Michael -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org