Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to override main conf with include #684

Open
poofyteddy opened this issue Nov 23, 2019 · 0 comments
Open

Unable to override main conf with include #684

poofyteddy opened this issue Nov 23, 2019 · 0 comments

Comments

@poofyteddy
Copy link

@poofyteddy poofyteddy commented Nov 23, 2019

Bug report

Describe the bug

if you set the setting of the main config file (/etc/mpd.conf) and in an included config file, with the goal of having the later override the former. MPD refuse to start.

I'll consider this a bug, since it is usually recommended to never edit the package config file if it support an include of some sort. Feel free to change it into a feature request

Thank's !

Expected Behavior

MPD service support overriding config, and boot

Actual Behavior

MPD service throw an exception and exit with a code 1

Version

Music Player Daemon 0.21.16 (debian/0.21.13-1-7-gc23b89d+)

Log

nov. 23 22:32:16 localhost systemd[1]: Starting Music Player Daemon...
nov. 23 22:32:22 localhost mpd[2557]: exception: Error in /etc/mpd.conf line 423
nov. 23 22:32:22 localhostmpd[2557]: exception: nested: Error in /etc/mpd.d/salt.conf line 10
nov. 23 22:32:22 localhost mpd[2557]: exception: config parameter "zeroconf_name" is first defined on line 163 and redefined on line 10
nov. 23 22:32:22 localhost systemd[1]: mpd.service: Main process exited, code=exited, status=1/FAILURE
nov. 23 22:32:22 localhost systemd[1]: mpd.service: Failed with result 'exit-code'.
nov. 23 22:32:22 localhost systemd[1]: Failed to start Music Player Daemon.

same error without going through systemd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.