On Mon, Nov 3, 2014 at 15:36:03 +0100, Andreas Beckmann wrote: > Package: mcollective,mcollective-client > Version: 2.6.0+dfsg-1 > Severity: serious > User: [email protected] > Usertags: piuparts > > Hi, > > during a test with piuparts I noticed your package failed the piuparts > upgrade test because dpkg detected a conffile as being modified and then > prompted the user for an action. As there is no user input, this fails. > But this is not the real problem, the real problem is that this prompt > shows up in the first place, as there was nobody modifying this conffile > at all, the package has just been installed and upgraded... > We had a look at this during the Paris BSP. Below is a summary of the issues.
In the wheezy version: - /etc/mcollective/server.cfg is not shipped in the package, but is copied from a template in /usr and modified according to debconf answers by postinst - /etc/default/mcollective is shipped as a conffile *and* modified according to debconf answers by postinst In the jessie version, /etc/mcollective/server.cfg is shipped as a conffile, thus conflicting with the earlier postinst-generated version; /etc/default/mcollective comes as a conffile and is left alone. The easiest way to "fix" this for jessie is to remove mcollective from the distribution; another option would be to stop installing /etc/mcollective/server.cfg in the package (it still gets installed by postinst if it's missing anyway). Cheers, Julien
signature.asc
Description: Digital signature

