[Pkg-puppet-devel] Bug#767936: mcollective, -client: prompting due to modified conffiles which were not modified by the user: /etc/mcollective/{client, server}.cfg
Julien Cristau
jcristau at debian.org
Fri Nov 14 16:49:29 UTC 2014
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: debian-qa at lists.debian.org
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20141114/cc23ad13/attachment.sig>
More information about the Pkg-puppet-devel
mailing list