Hi Joey, thanks for your followup - I was going to say I agree but was unsure how to make systemd (and possibly other init systems) work with /etc/default/mpd.
On Sun, Feb 09, 2014 at 02:32:13PM -0400, Joey Hess wrote: > I ran this by Tollef and our suggestion is that mpd transition away from > using START_MPD in the defaults file on upgrade. The upgrade can check > if START_MPD=false and if so, simply run update-rc.d disable mpd. That > will handle disabling it in both the systemd and sysvinit cases. Do you know of a good way to prevent dpkg asking about a modified conffile after the preinst has already handled the START_MPD=false case? Policy Appendix E.1 last paragraph says maintainer scripts should not modify dpkg-handled conffiles, but that's not Policy proper and perhaps in cases such as this a plain call to sed may be fine? > It would probably also make sense for mpd.service to use > EnvironmentFile=/etc/default/mpd in order for the MPDCONF setting > to be handled. That should be easy to do, even though in the long term, we'll hopefully have just one init system and no need for separate /etc/default files... Florian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org