media-sound/mpd requires service net.lo to start, if not fails with the error:
unable to bind port 6600: Cannot assign requested address
maybe MPD is still running?
mpd version: 0.14.0_pre20080204
add 'net.lo' in 'use' in /etc/init.d/mpd fixes the problem
Reproducible: Always
Steps to Reproduce:
1. Stop net.lo /etc/init.d/net.lo stop
2. (re)Start mpd /etc/init.d/mpd restart
Actual Results:
localhost ~ # /etc/init.d/net.lo stop
* Caching service dependencies ...
[ ok ]
* Service net.lo stopping
* Service net.lo stopped
localhost ~ # /etc/init.d/mpd restart
* Service mpd stopping
* Service mpd stopped
* Service mpd starting
unable to bind port 6600: Cannot assign requested address
maybe MPD is still running?
[ !! ]
* ERROR: mpd failed to start
Expected Results:
mpd start net.lo if it's down
localhost ~ # /etc/init.d/net.lo stop
* Service net.lo stopping
* Service net.lo stopped
localhost ~ # /etc/init.d/mpd restart
* Service mpd stopping
* Service mpd stopped
* Service mpd starting
* Service net.lo starting
* Service net.lo started
* Service mpd started