The underlying problem was that the configuration file couldn't be read by the 
mpd-sima user.
In the current 0.9.x versions this was problem was silently suppressed.

In the upcoming 0.10.x version this problem will be shown in a clear
error message:

mpd_sima: error: no read access to "/etc/mpd-sima.cfg"


** Summary changed:

- host setting is not recognized from config file
+ host setting is not recognized from config file [file permission problem]

** Description changed:

  Use stock mpd-sima package.
  Edit /etc/mpd-sima.cfg to change host from localhost to our mpd server.
  
  service mpd-sigma restart
  --> 2012-09-26 11:38:09 - ERROR     Unable to connect to MPD on localhost!
  
  Try to start for debugging with:  sudo -u mpd-sima  /usr/bin/mpd-sima 
--var_dir=/var/lib/mpd-sima/  --config=/etc/mpd-sima.cfg
  --> same result
  
  Now set host explicitely: sudo -u mpd-sima  /usr/bin/mpd-sima 
--host=mpd.computer42.org --var_dir=/var/lib/mpd-sima/  
--config=/etc/mpd-sima.cfg
  --> works
+ 
+ [see #6  - this was triggered by strict permissions on /etc/mpd-sima.cfg
+ and a missing error message]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1056738

Title:
  host setting is not recognized from config file [file permission
  problem]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mpd-sima/+bug/1056738/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to