[Pkg-libvirt-maintainers] Bug#887612: Bug#887612: libvirt-daemon-system: prompting due to modified conffiles which were not modified by the user: /etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper
Guido Günther
agx at sigxcpu.org
Thu Jan 18 13:28:34 UTC 2018
control: tags -1 +pending
Hi,
On Thu, Jan 18, 2018 at 01:52:06PM +0100, Andreas Beckmann wrote:
> Package: libvirt-daemon-system
> Version: 4.0.0~rc1-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...
>
> This is a violation of policy 10.7.3, see
> https://www.debian.org/doc/debian-policy/#behavior,
> which says "[These scripts handling conffiles] must not ask unnecessary
> questions (particularly during upgrades), and must otherwise be good
> citizens."
>
> https://wiki.debian.org/DpkgConffileHandling should help with figuring
> out how to do this properly.
>
> In https://lists.debian.org/debian-devel/2009/08/msg00675.html and
> followups it has been agreed that these bugs are to be filed with
> severity serious.
>
> From the attached log (scroll to the bottom...):
>
> Setting up libvirt-daemon-system (4.0.0~rc1-1) ...
> Installing new version of config file /etc/apparmor.d/abstractions/libvirt-qemu ...
>
> Configuration file '/etc/apparmor.d/local/usr.lib.libvirt.virt-aa-helper'
> ==> File on system created by you or by a script.
> ==> File also in package provided by package maintainer.
> What would you like to do about it ? Your options are:
> Y or I : install the package maintainer's version
> N or O : keep your currently-installed version
> D : show the differences between the versions
> Z : start a shell to examine the situation
> The default action is to keep your current version.
> *** usr.lib.libvirt.virt-aa-helper (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package libvirt-daemon-system (--configure):
> end of file on stdin at conffile prompt
> Errors were encountered while processing:
> libvirt-daemon-system
>
> This was encountered on a sid -> experimental upgrade.
Yes, already noticed this yesterday and this will be fixed with the next
upload.
Cheers,
-- Guido
More information about the Pkg-libvirt-maintainers
mailing list