← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1895160] Re: Backport finalrd 6 to xenial and up

 

finalrd is now seeded into system-image in xenial. But because it is a
brand new package in -updates pocket only, it doesn't gain Task: ubuntu-
core, as that is only done for packages that exist in release pocket.

Thus adding Task:ubuntu-core by hand.

** Description changed:

  [Impact]
  
-  * finalrd is a useful tool, that improves ability to cleanly shut down
+  * finalrd is a useful tool, that improves ability to cleanly shut down
  systems. It is now desired to backport it all the way back to xenial. On
  classic systems it will not be installed by default, but available for
  users to opt-in into having it. On Ubuntu Core systems it will be
  installed by default, and used instead of snap-shutdown. As finalrd does
  everything that snap-shutdown already did, and much more.
  
-  * finalrd is only tweaked slightly in version 6 to be compatible with
+  * finalrd is only tweaked slightly in version 6 to be compatible with
  any systemd from xenial to groovy.
  
  [Test Case]
  
  Classic
-  * Install finalrd
-  * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
-  * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.
-  * Reboot
-  * Observe that finalrd unit is started
-  ** (optional) to make observing finalrd easier add /etc/finalrd/echo.finalrd hook that does `echo $@` with a sleep
-  * Shutdown, capture console-log observe that finalrd was executed
+  * Install finalrd
+  * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
+  * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.
+  * Reboot
+  * Observe that finalrd unit is started
+  ** (optional) to make observing finalrd easier add /etc/finalrd/echo.finalrd hook that does `echo $@` with a sleep
+  * Shutdown, capture console-log observe that finalrd was executed
+ 
+ [xenial extra testcase]
+ 
+  * finalrd binary package should have Task: ubuntu-core, such that when
+ building core snap, it is installed by livebuild.
  
  Core
-  * Create custom core, core18 with finalrd preinstalled
-  * Building custom Ubuntu Core 16 and Ubuntu Core 18 image with above core
-  * Observe that finalrd unit is started on boot
-  * Shutdown, capture console-log observe that finarld was executed.
-  * Boot again
-  * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
-  * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.
+  * Create custom core, core18 with finalrd preinstalled
+  * Building custom Ubuntu Core 16 and Ubuntu Core 18 image with above core
+  * Observe that finalrd unit is started on boot
+  * Shutdown, capture console-log observe that finarld was executed.
+  * Boot again
+  * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
+  * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.
  
  [Regression Potential]
  
-  * Packaging & tmpfiles were changed to be compatible with older systemd
+  * Packaging & tmpfiles were changed to be compatible with older systemd
  versions. There are no changes to api/abi of the systemd units, or
  .finalrd hooks. The package is not installed by default on
  xenial/bionic, hence the number and type of machines affected is small.
  If regressions are identified, reverting to previous version of the
  package is safe course of action, as there are no upgrade/downgrade
  incompatibilities between old & new versions of finalrd.

** Changed in: finalrd (Ubuntu Xenial)
       Status: Fix Released => Triaged

-- 
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/1895160

Title:
  Backport finalrd 6 to xenial and up

Status in finalrd package in Ubuntu:
  Fix Released
Status in finalrd source package in Xenial:
  Triaged
Status in finalrd source package in Bionic:
  Fix Released
Status in finalrd source package in Focal:
  Fix Released

Bug description:
  [Impact]

   * finalrd is a useful tool, that improves ability to cleanly shut
  down systems. It is now desired to backport it all the way back to
  xenial. On classic systems it will not be installed by default, but
  available for users to opt-in into having it. On Ubuntu Core systems
  it will be installed by default, and used instead of snap-shutdown. As
  finalrd does everything that snap-shutdown already did, and much more.

   * finalrd is only tweaked slightly in version 6 to be compatible with
  any systemd from xenial to groovy.

  [Test Case]

  Classic
   * Install finalrd
   * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
   * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.
   * Reboot
   * Observe that finalrd unit is started
   ** (optional) to make observing finalrd easier add /etc/finalrd/echo.finalrd hook that does `echo $@` with a sleep
   * Shutdown, capture console-log observe that finalrd was executed

  [xenial extra testcase]

   * finalrd binary package should have Task: ubuntu-core, such that
  when building core snap, it is installed by livebuild.

  Core
   * Create custom core, core18 with finalrd preinstalled
   * Building custom Ubuntu Core 16 and Ubuntu Core 18 image with above core
   * Observe that finalrd unit is started on boot
   * Shutdown, capture console-log observe that finarld was executed.
   * Boot again
   * execute `sudo finalrd` and observe that no stderr is printed, and command exits successfully
   * check that /run/initramfs is created and populated with /run/initramfs/shutdown, binaries and libraries.

  [Regression Potential]

   * Packaging & tmpfiles were changed to be compatible with older
  systemd versions. There are no changes to api/abi of the systemd
  units, or .finalrd hooks. The package is not installed by default on
  xenial/bionic, hence the number and type of machines affected is
  small. If regressions are identified, reverting to previous version of
  the package is safe course of action, as there are no
  upgrade/downgrade incompatibilities between old & new versions of
  finalrd.

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