gnome-session-inhibit --inhibit suspend fails to inhibit suspend

Bug #1394886 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu GNOME
New
Undecided
Unassigned

Bug Description

I want to run offlineimap and have the laptop go to sleep when it's done syncing my mail.

I run

    gnome-session-inhibit --inhibit suspend offlineimap

and close the laptop lid.

The laptop goes to sleep immediately, without waiting for offlineimap to do its job (which takes ~3 minutes).

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: gnome-session-bin 3.14.0-0ubuntu1~utopic2 [origin: LP-PPA-gnome3-team-gnome3-staging]
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Nov 21 09:39:25 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (848 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: gnome-session
UpgradeStatus: Upgraded to utopic on 2014-10-24 (27 days ago)

Revision history for this message
Marius Gedminas (mgedmin) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.