/etc/dnsmasq.d-available/lxc circular link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Serge Hallyn | ||
Quantal |
Fix Released
|
High
|
Serge Hallyn | ||
Raring |
Fix Released
|
High
|
Serge Hallyn | ||
lxc (Ubuntu) |
Fix Released
|
High
|
Stéphane Graber | ||
Quantal |
Fix Released
|
High
|
Stéphane Graber | ||
Raring |
Fix Released
|
High
|
Stéphane Graber | ||
network-manager (Ubuntu) |
Won't Fix
|
High
|
Unassigned | ||
Quantal |
Won't Fix
|
High
|
Mathieu Trudel-Lapierre | ||
Raring |
Won't Fix
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
= Rational =
We pushed a custom dnsmasq hook to precise, quantal and raring over the past few months to avoid conflicts for people running the dnsmasq system daemon (non-default).
However because we introduced this change as SRU, it's causing problems when then upgrading to the next release by having the migration code get executed multiple times.
We need to fix this and repare broken systems in the process.
= Test case =
- Install any of the current lxc, libvirt-bin or network-manager on Ubuntu 12.04 or 12.10
- Dist-upgrade to the next version of Ubuntu
- You'll notice /etc/dnsmasq.
- Updating to a fixed package will move everything back into place (assuming the user hasn't done any local change in between, in which case, nothing will be done)
= Regression potential =
I have tested the change doing precise -> quantal -> raring and quantal -> raring and I'm confident the new postinst hook will fix any breakage. It's also specific enough to only trigger in the specific case we know how to repair. In all other cases, we keep the system as-is and let the user deal with it. As a result, it's not impossible that some weird corner cases (for example when removing/purging the package in between dist-upgrades) may go unfixed but I'm confident we'll cover at least 99% of the cases with the fix and that this fix is safe.
--- Original bug report ---
In today's Raring apt-get dist-upgrade:
Setting up lxc (0.9.0~
Installing new version of config file /etc/apparmor.
dpkg: warning: lxc: config file '/etc/dnsmasq.
(= '/etc/dnsmasq.
Related branches
Changed in lxc (Ubuntu): | |
status: | New → Incomplete |
tags: | added: patch |
description: | updated |
Changed in lxc (Ubuntu Quantal): | |
status: | Triaged → In Progress |
Changed in lxc (Ubuntu Raring): | |
status: | Triaged → In Progress |
Changed in libvirt (Ubuntu Quantal): | |
status: | Triaged → In Progress |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-needed removed: verification-done |
I'm looking into this.