I pushed a cleaned up fix to https://github.com/desrt/systemd- shim/commit/b8f324dae5d13b54.
** Changed in: systemd-shim (Ubuntu Trusty) Status: In Progress => Fix Committed ** Changed in: systemd-shim (Ubuntu Trusty) Assignee: Martin Pitt (pitti) => (unassigned) ** Description changed: Only seen in a ubuntu (unity) session, others report gnome sessions - Test case on laptop: - Shutdown machine from session indicator, close laptop lid right after selecting Shutdown from pop up window. - What should happen: - machine should complete shutdown process + SRU INFORMATION + ---------------- - What does happen: - shutdown hangs until the laptop lid is re-opened, then it completes the shutdown + 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1211514 Title: Shutdowns fail to finish if laptop lid is closed before completely shutdown To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1211514/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs