← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1572752] Re: improve UTC setting migration on upgrades

 

This bug was fixed in the package sysvinit - 2.88dsf-59.3ubuntu3

---------------
sysvinit (2.88dsf-59.3ubuntu3) xenial; urgency=medium

  * debian/initscripts.preinst: revert any changes to UTC setting in
    /etc/default/rcS, so we can avoid unnecessary conffile prompts on upgrade.
  * Don't just Breaks: systemd (<< 228-5ubuntu3), but
    Pre-Depend: systemd (>= 228-5ubuntu3) so that the systemd postinst has a
    chance to migrate any UTC setting out of /etc/default/rcS before upgrade.
    LP: #1572752

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Wed, 20 Apr 2016
14:49:11 -0700

** Changed in: sysvinit (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1572752

Title:
  improve UTC setting migration on upgrades

Status in sysvinit package in Ubuntu:
  Fix Released
Status in sysvinit source package in Xenial:
  Fix Committed

Bug description:
  [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

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


References