← Back to team overview

dx-packages team mailing list archive

[Bug 1313522] Re: There is hibernate option even without an active swap partition

 

Checked deeper, src/login/logind-action.c() calls can_sleep(), which in
version 204 does not yet check for swap. So we need to backport the
checks in src/shared/sleep-config.c from later versions.

** Package changed: systemd-shim (Ubuntu) => systemd (Ubuntu)

** Changed in: systemd (Ubuntu)
   Importance: Undecided => Medium

** Changed in: systemd (Ubuntu)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to systemd-shim in Ubuntu.
https://bugs.launchpad.net/bugs/1313522

Title:
  There is hibernate option even without an active swap partition

Status in OEM Priority Project:
  New
Status in “systemd” package in Ubuntu:
  In Progress

Bug description:
  In Ubuntu 13.10 and 14.04 the "hibernate" option will always be
  displayed in the system dropdown menu, even if there is no active swap
  partition. Click the hibernate option will perform the hibernate
  operation but will fail during the process.

  As a contrast, in Ubuntu 13.04 and earlier releases the "hibernate"
  option is visible only if there is active swap partition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1313522/+subscriptions