conffile_prompt check incomplete on multiple conffiles
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Debian) |
Fix Released
|
Unknown
|
|||
unattended-upgrades (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned | ||
Maverick |
Won't Fix
|
Medium
|
Unassigned | ||
Natty |
Won't Fix
|
Medium
|
Unassigned |
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-
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/
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.
Related branches
Changed in unattended-upgrades (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in unattended-upgrades (Ubuntu Natty): | |
status: | New → In Progress |
Changed in unattended-upgrades (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unattended-upgrades (Ubuntu Natty): | |
importance: | Undecided → High |
description: | updated |
Changed in unattended-upgrades (Ubuntu Maverick): | |
status: | New → In Progress |
Changed in unattended-upgrades (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in unattended-upgrades (Ubuntu Maverick): | |
importance: | Undecided → High |
Changed in unattended-upgrades (Ubuntu Lucid): | |
importance: | Undecided → Medium |
Changed in unattended-upgrades (Ubuntu Maverick): | |
importance: | High → Medium |
Changed in unattended-upgrades (Ubuntu Natty): | |
importance: | High → Medium |
Changed in unattended-upgrades (Ubuntu): | |
importance: | High → Medium |
Changed in unattended-upgrades (Debian): | |
status: | Unknown → Fix Released |
tags: | added: testcase |
description: | updated |
Changed in unattended-upgrades (Ubuntu Maverick): | |
status: | Fix Committed → Won't Fix |
Changed in unattended-upgrades (Ubuntu Natty): | |
status: | Fix Committed → Won't Fix |
tags: | removed: verification-needed |
tags: | removed: removal-candidate |
Accepted unattended-upgrades into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!