closing lid does not suspend in the first 3 minutes after boot

Bug #1444166 reported by Martin Pitt on 2015-04-14
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Medium
Martin Pitt

Bug Description

Right after booting, closing the lid does not cause a suspend. logind does see the lid close/open event, but there is no suspend. After some minutes this starts working, and from then on always works.

Martin Pitt (pitti) on 2015-04-14
Changed in systemd (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Triaged
Martin Pitt (pitti) on 2015-04-15
tags: added: systemd-boot
Changed in systemd (Ubuntu):
importance: Undecided → Medium

I get that on my system while NetworkManager-wait-online.service is still running, and the system is still in "booting" state. Seth gets it due to a failed ureadahead.service and the system is degraded.

summary: - closing lid does not suspend during the first couple of minutes
+ closing lid does not suspend while system is not fully booted
Martin Pitt (pitti) wrote :

Turns out this was actually intentional. A recent upstream commit improved this: http://cgit.freedesktop.org/systemd/systemd/commit/?id=9d10cbee8

With that the "dead" time got reduced from 3 mins to 30s, which ought to be fine.

Changed in systemd (Ubuntu):
status: Triaged → In Progress
summary: - closing lid does not suspend while system is not fully booted
+ closing lid does not suspend in the first 3 minutes after boot
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 219-7ubuntu3

---------------
systemd (219-7ubuntu3) vivid; urgency=medium

  * logind autopkgtest: Add test for suspending on lid switch close.
    This reproduces LP #1444166 (lid switch not working in the first few
    minutes after boot).
  * Reduce the initial suspend supression time from 3 minutes to 30 seconds,
    and make it configurable. (LP: #1444166)
 -- Martin Pitt <email address hidden> Sat, 18 Apr 2015 17:06:08 +0100

Changed in systemd (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers