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

2014-04-29 Thread Martin Pitt
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

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


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

2014-04-29 Thread Martin Pitt
Nevermind, pm-utils isn't checking available swap at all. In the past,
upower did that, but now systemd and systemd-shim would need to pick
that up.

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

** Changed in: systemd-shim (Ubuntu)
   Status: Incomplete => Triaged

-- 
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-shim” package in Ubuntu:
  Triaged

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

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