[Bug 773007] Re: conffile_prompt check incomplete on multiple conffiles
Launchpad Bug Tracker
773007 at bugs.launchpad.net
Wed Feb 8 11:46:17 UTC 2012
** Branch linked: lp:ubuntu/lucid-updates/unattended-upgrades
--
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 Released
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