[packman] mpd daemon initialization problem and how to fix it

Martín Lucas Golini mgolini at deitres.com.ar
Sat Apr 16 23:55:34 CEST 2016


Hi, there's a little issue in the "mpd.service" file for systemd since 
openSUSE switched to systemd. It's weird that no one reported it yet 
since it causes to fail the mpd service initialization.
The problem is that the initialization locks the systemctl start of the 
daemon, with a single line fix in mpd.service this can be fixed ( i've 
been replacing the file manually every time that there's an mpd update, 
a little bit annoying ).

The fix consist in replacing the line ( located in 
/usr/lib/systemd/system/mpd.service ):
ExecStart=/usr/bin/mpd /etc/mpd.conf
with:
ExecStart=/usr/bin/mpd --no-daemon /etc/mpd.conf

This will avoid blocking the systemctl start and the service will start 
just fine.

Thanks!
Regards,
Martín




More information about the Packman mailing list