Bug 215801 - media-sound/mpd requires service net.lo to start
Bug#: 215801 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sound@gentoo.org Reported By: ekz999@gmail.com
Component: Applications
URL: 
Summary: media-sound/mpd requires service net.lo to start
Keywords:  
Status Whiteboard: 
Opened: 2008-04-02 00:01 0000
Description:   Opened: 2008-04-02 00:01 0000
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

------- Comment #1 From Ben de Groot 2008-04-11 21:32:18 0000 -------
Fix applied in CVS.