← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1898087] Re: Please disable suspend when the package is installed

 

Thanks, marking Bionic and Xenial as won't fix. Please reopen the bug
against those releases if the SRU becomes needed.

** Changed in: ec2-hibinit-agent (Ubuntu Xenial)
       Status: Incomplete => Won't Fix

** Changed in: ec2-hibinit-agent (Ubuntu Bionic)
       Status: Incomplete => Won't Fix

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

Title:
  Please disable suspend when the package is installed

Status in ec2-hibinit-agent package in Ubuntu:
  Fix Released
Status in ec2-hibinit-agent source package in Xenial:
  Won't Fix
Status in ec2-hibinit-agent source package in Bionic:
  Won't Fix
Status in ec2-hibinit-agent source package in Focal:
  Fix Committed

Bug description:
  [Impact]

  Enabling CONFIG_SUSPEND in the kernel exposes a potential deadlock on
  Xen instance types on AWS during hibernation, so it has been disabled
  in the linux-aws kernel as an extra safety measure to prevent this
  problem from happening.

  [Test Case]

  Try to suspend the system as a regular user:
  $ /lib/systemd/systemd-sleep suspend
  Sleep mode "suspend" is disabled by configuration, refusing.

  On a system where this change is not present permission error appears:
  $ /lib/systemd/systemd-sleep suspend
  Failed to open /sys/power/state: Permission denied

  [Regression Potential]

  The fix is placing a configuration file drop-in to prevent the system from suspending. On EC2 instances this is unlikely to cause unwanted side effects, since suspended instances can't be woken up.
  Outside of EC2 there is no use of the package itself, but this change disable suspend when the package is installed.

  [Original Bug Text]

  From LP: #1892728
  We also need to set "AllowSuspend=no" in /etc/systemd/sleep.conf (or a .d file) as CONFIG_SUSPEND has been disabled in the kernel to improve the robustness of hibernation.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ec2-hibinit-agent/+bug/1898087/+subscriptions