← Back to team overview

dx-packages team mailing list archive

[Bug 1211514] Re: Shutdowns fail to finish if laptop lid is closed before completely shutdown

 

FIXED

modify

logind.conf

sudo gedit /etc/systemd/logind.conf

Find the line #HandleLidSwitch=suspend, remove the # and change it to:

HandleLidSwitch=ignore

Save the file with the same name

CTRL x

Reboot.

Sudo reboot now

You are welcome.

-- 
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/1211514

Title:
  Shutdowns fail to finish if laptop lid is closed before completely
  shutdown

Status in systemd-shim package in Ubuntu:
  Fix Released
Status in systemd-shim source package in Saucy:
  Fix Released
Status in systemd-shim source package in Trusty:
  Fix Released

Bug description:
  Only seen in a ubuntu (unity) session, others report gnome sessions

  SRU INFORMATION
  ----------------

  TEST CASE on laptop:
   - Shutdown machine from session indicator, close laptop lid right after selecting shutdown or reboot from pop up window.
   - What should happen: lid close gets ignored and machine should complete shutdown process
  - What does happen: machine gets suspended until the laptop lid is re-opened, then it either completes the shutdown (if the lid close happened early enough), or hangs eternally

  FIX: https://github.com/desrt/systemd-shim/commit/6c65a113 and
  https://github.com/desrt/systemd-shim/commit/b8f324dae5 (both are
  needed)

  REGRESSION POTENTIAL: A broken systemd-shim can potentially completely
  prevent shutdown, reboot, suspend, hibernate. This code has been
  tested with all scenarios, with both doing suspend/lid close during
  normal operation, and during shutdown (at which point lid close is now
  ignored).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: unity 7.1.0+13.10.20130812.1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-1.4-generic 3.11.0-rc4
  Uname: Linux 3.11.0-1-generic x86_64
  ApportVersion: 2.12-0ubuntu3
  Architecture: amd64
  CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
  Date: Mon Aug 12 17:01:09 2013
  InstallationDate: Installed on 2013-08-07 (4 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130803)
  MarkForUpload: True
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1211514/+subscriptions