Openrc init script references die function in check_config() to guard against misconfiguration. Logic doesn't work as die function is not defined and no such command exist. And since init script errors don't stop script execution for some reason, service starts anyway. Reproducible: Always Steps to Reproduce: 1. Don't define group in /etc/mpd.conf 2. /etc/init.d/mpd start Actual Results: # /etc/init.d/mpd start /etc/init.d/mpd: line 40: die: command not found * Starting mpd ... [ ok ] Expected Results: # /etc/init.d/mpd start * Checking mpd configuration ... * group must be set in /etc/mpd.conf! * failed, please correct errors above [ !! ] * ERROR: mpd failed to start
Created attachment 903483 [details, diff] possible init script patch