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 Ubuntu Desktop Bugs, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1313522 Title: There is hibernate option even without an active swap partition To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1313522/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs