** Description changed:

  [Impact]
  
- * TODO
- 
+ 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.

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

Title:
  Please disable suspend when the package is installed

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

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

Reply via email to