** Description changed:

+ [SRU Justification]
+ On upgrade, some users who have selected a non-default setting for their 
clock handling in the installer will see prompts for a conffile they never 
edited by hand.
+ 
+ [Regression potential]
+ Because we are adding a pre-dependency to a package, there is risk of this 
causing upgrade failures.  The upgrade path should be tested aggressively with 
different profiles from both 14.04 and 15.10 before publishing to -updates.
+ 
+ [Test case]
+ 1. On a newly-installed 14.04 system, edit /etc/default/rcS to contain 
'UTC=no' instead of 'UTC=yes'.  Make no other changes to this file.
+ 2. Enable -proposed in your apt sources.
+ 3. Run do-release-upgrade or update-manager to upgrade to 16.04.
+ 4. Confirm that the upgrade succeeds.
+ 5. Confirm that you are not shown a conffile prompt for /etc/default/rcS on 
upgrade.
+ 6. Confirm that /etc/adjtime has been created, with 'LOCAL' as the third line 
of the file.
+ 7. Repeat steps 1-6 for a newly-installed 15.10 system.
+ 
+ 
  slangasek | pitti: I see sysvinit Breaks: systemd (<< 228-5ubuntu3), but that 
doesn't enforce systemd 228-5ubuntu3 being configured before sysvinit, which 
means the conffile may already be migrated away before systemd postinst runs... 
I think the right way to do this is with initscripts Pre-Depends: systemd, and 
for initscripts' preinst script to handle any conffile cleaning so that users 
are spared conffile prompts on upgrade
  pitti | slangasek: ah, good point; this needs to be tested thoroughly, 
pre-depends have some habit of causing trouble
  
  See bug 1541532 and
  
http://launchpadlibrarian.net/236311219/systemd_228-5ubuntu2_228-5ubuntu3.diff.gz
  and
  
http://launchpadlibrarian.net/236367969/sysvinit_2.88dsf-59.3ubuntu1_2.88dsf-59.3ubuntu2.diff.gz

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

Title:
  improve UTC setting migration on upgrades

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to