After some cleanups things make more sense now.
For >=Yakkety upgraders we really only want to clean up and not mess with their 
setup.
So the design slightly changed to do so as intended.
Otherwise we might "bring back" old changes breaking a working system.
Instead the remove + message will help to
a) clean up
b) remind the user if he wants to re-setup anything

Also the tests are improved and have a new case now.

0. Calls
./conffiles-forgotten-test.sh TXUF
./conffiles-forgotten-test.sh TXF
./conffiles-forgotten-test.sh ZAF
./conffiles-forgotten-test.sh TXUF custom
./conffiles-forgotten-test.sh TXF custom
./conffiles-forgotten-test.sh TXUF newcustom

1. Upgrade paths:
 1.1 T->X->UCA-O-FixX (like full upgrade through Y,Z,A but faster)
 1.2 T->X->FixX (simulating LTS->LTS)
 1.3 Z->FixA (no old things around, shall not fail on upgrades on any of our 
code)

2. Default conffiles
 2.1 if all files are on default content only, they are deleted and not retained
 2.2 T-X-Fix e.g. default /etc/default/libvirt-bin not interferring with new 
/etc/default/libvirtd content
 2.3 T-X-UCA-Fix default /etc/default/libvirt-bin (duplicate) not interferring 
with new /etc/default/libvirtd content
 2.4 /etc/default/virtlockd and /etc/libvirt/libvirt-admin.conf shall still be 
around as they work and will come back via Debian
 2.5 remove default /etc/dnsmasq.d/libvirt-bin link

3. custom conffiles
 3.1 T-X-Fix custom data on TEMPLATE be removed, but retained in backup
 3.2 T-X-Fix custom data on /etc/cron.daily/libvirt-bin moved
 3.3 T-X-Fix custom data on /etc/default/libvirt-bin moved
 3.4 T-X-Fix custom data on /etc/init.d/libvirt-bin moved
 3.5 T-X-Fix Leave custom /etc/dnsmasq.d/libvirt-bin link untouched
 3.6 T-X-UCA-Fix custom data on TEMPLATE removed, but retained in backup
 3.7 T-X-UCA-Fix custom /etc/default/libvirt-bin (duplicate) removed, but 
retained in backup
 3.8 T-X-UCA-Fix custom data on /etc/cron.daily/libvirt-bin removed, but 
retained in backup
 3.9 T-X-UCA-Fix leave custom /etc/dnsmasq.d/libvirt-bin link untouched
 3.10 T-X-UCA-Fix custom /etc/init.d/libvirt-bin (want change) that was moved 
on ->yakkety, so it should just not be around
 
4. conflicting custom duplicate conffiles that "should have been" moved before
 4.1 T-X-UCA-Fix custom /etc/default/libvirt-bin removed, but retained in 
backup, not clashing new content
 4.2 T-X-UCA-Fix custom data on /etc/cron.daily/libvirt-bin removed, but 
retained in backup, not clashing new content
 4.3 T-X-UCA-Fix custom /etc/init.d/libvirt-bin that was moved on ->yakkety, 
new content in libvirtd should be unaffected

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

Title:
  Complete libvirt migration to Debian style packaging (dependencies,
  conffiles)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ginger/+bug/1694159/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to