offlineimap ignores SIGHUP, causes shutdown delays if left running

Bug #983656 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
offlineimap (Debian)
Fix Released
Unknown
offlineimap (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

After noticing that my shutdown was much slower than it ought to be, I did some debugging with /etc/init.d/sendsigs to find that offlineimap hangs around well after the rest of my desktop has exited. This is because offlineimap installs a SIGHUP signal handler and keeps running after the terminal has exited, because it interprets SIGHUP as a signal to wake up the accounts.

Either this should be frontend-specific, or the handler should only be installed when not run from a tty, or the default signal handler should always be used for SIGHUP.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: offlineimap 6.3.4-1
ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu4
Architecture: amd64
CheckboxSubmission: 017452a27eca3c8b498abbfa5ef91db9
CheckboxSystem: ecaaad6fa1e0799a0aa1126bf620f39e
Date: Mon Apr 16 21:54:39 2012
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: offlineimap
UpgradeStatus: Upgraded to precise on 2011-11-08 (160 days ago)

Revision history for this message
Steve Langasek (vorlon) wrote :
Steve Langasek (vorlon)
Changed in offlineimap (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in offlineimap (Debian):
status: Unknown → New
Changed in offlineimap (Debian):
status: New → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

fix released with sync of 6.5.4-2 from debian.

Changed in offlineimap (Ubuntu):
status: Triaged → Fix Released
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.