[Bug 773007] Re: conffile_prompt check incomplete on multiple conffiles

Launchpad Bug Tracker 773007 at bugs.launchpad.net
Mon Dec 5 05:49:45 UTC 2011


This bug was fixed in the package unattended-upgrades - 0.55ubuntu6

---------------
unattended-upgrades (0.55ubuntu6) lucid-proposed; urgency=low

  * unattended-upgrade:
    - fix conffile prompt detection on multiple conffiles (LP: #773007)
  * test/unattended_upgrade.py:
    - add symlink to unattended-upgrades needed for the test of the
      conffile_prompt() function
  * test/test_conffile.py:
    - backport the conffile test case to ensure the fix is correct
  * test/{var,etc}/
    - backport fake root for the test
 -- Michael Vogt <michael.vogt at ubuntu.com>   Fri, 29 Apr 2011 10:47:38 +0200

** Changed in: unattended-upgrades (Ubuntu Lucid)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/773007

Title:
  conffile_prompt check incomplete on multiple conffiles

Status in “unattended-upgrades” package in Ubuntu:
  Fix Committed
Status in “unattended-upgrades” source package in Lucid:
  Fix Released
Status in “unattended-upgrades” source package in Maverick:
  Fix Committed
Status in “unattended-upgrades” source package in Natty:
  Fix Committed
Status in “unattended-upgrades” package in Debian:
  Fix Released

Bug description:
  TEST CASE:
   The bug can only be triggered when there is a package with multiple configuration files and the update
   changes one configuration files (but not the first) and the user has modified the local configuration
   file. This is the case for asterisk-config in debian/squeeze and this is how the bug got discovered.
   I added a test in the code to artificially trigger the error. For the real verification we can either
   reply on Debian or create a squeeze chroot with asterisk-config installed then modifying /etc/asterisk
   /sip.conf and running unattended-upgrades.

  Given that its pretty difficult to trigger this bug I think a regression test is sufficient. Running the
  lucid-updates version in a clean VM and then the lucid-proposed version and comparing /var/log/apt/history.log (or comparing the result of unattedned-upgrades --dry-run) should be sufficient.

  Binary package hint: unattended-upgrades

  There is a bug in the conffile detection that causes the code to miss
  modified conffiles if there are multiple conffiles.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/773007/+subscriptions




More information about the foundations-bugs mailing list