Public bug reported:

[System]
Any current Ubuntu Desktop/Server supported release (Trusty, Xenial, Bionic, 
Cosmic).

[Impact]
Package installation turns into an inconsistent state if system is rebooted in 
the middle of an apt install/upgrade.

[Test Case]
Scenario with Landscape:
1. Upgrade triggered from Landscape
2. User at Ubuntu Desktop reboots the box using the GUI
3. System reboots and potentially turns into an inconsistent state

Scenario w/o Landscape:
1. User1 at Ubuntu Server issues "sudo apt-get upgrade"
2. User2 at Ubuntu Server issues "shutdown -r"
3. System reboots and potentially turns into an inconsistent state

[Remarks]
APT should automatically inhibit system halts/reboots while packages being 
installed/removed. A similar behavior to what is shown by unattended-upgrades.

As a Plan B, an Ubuntu Server/Desktop with the Landscape Client
installed, should at least display warning the users that packages are
being installed.

** Affects: landscape-client
     Importance: Undecided
         Status: New

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: sts

** Also affects: landscape-client
   Importance: Undecided
       Status: New

** Summary changed:

- Inhibit system halt when package installation in progress
+ System halt/reboot is allowed when package installation in progress

** Summary changed:

- System halt/reboot is allowed when package installation in progress
+ Potential inconsistency due to system halt/reboot being allowed when package 
installation in progress

** Tags added: sts

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1820886

Title:
  Potential inconsistency due to system halt/reboot being allowed when
  package installation in progress

Status in Landscape Client:
  New
Status in apt package in Ubuntu:
  New

Bug description:
  [System]
  Any current Ubuntu Desktop/Server supported release (Trusty, Xenial, Bionic, 
Cosmic).

  [Impact]
  Package installation turns into an inconsistent state if system is rebooted 
in the middle of an apt install/upgrade.

  [Test Case]
  Scenario with Landscape:
  1. Upgrade triggered from Landscape
  2. User at Ubuntu Desktop reboots the box using the GUI
  3. System reboots and potentially turns into an inconsistent state

  Scenario w/o Landscape:
  1. User1 at Ubuntu Server issues "sudo apt-get upgrade"
  2. User2 at Ubuntu Server issues "shutdown -r"
  3. System reboots and potentially turns into an inconsistent state

  [Remarks]
  APT should automatically inhibit system halts/reboots while packages being 
installed/removed. A similar behavior to what is shown by unattended-upgrades.

  As a Plan B, an Ubuntu Server/Desktop with the Landscape Client
  installed, should at least display warning the users that packages are
  being installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1820886/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to