Package: offlineimap
Version: 6.3.4-1
Severity: normal

I run offlineimap from a terminal under my X session; it has several
frontends that encourage this behavior.  When my X session closes for a
system shutdown, the terminals exit, after sending SIGHUP to their children.

Every process I run in a terminal handles SIGHUP by shutting down, except
for one.  offlineimap handles SIGHUP by immediately waking up and polling
the configured servers.

This means that offlineimap slows down my shutdown, because it hangs around
and has to be killed by sendsigs - in my experience, it's the last process
to terminate.  It also slows things down by engaging in network I/O at
exactly the wrong time.

"Wake up and talk to the servers" is not an appropriate action for a console
program to take on SIGHUP.  Since this behavior is not at all documented in
the manpage (which says that offlineimap listens to SIGUSR1 and SIGUSR2), I
think offlineimap should drop this signal handler.

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages offlineimap depends on:
ii  python          2.7.3-0ubuntu2
ii  python-support  1.0.14ubuntu2

offlineimap recommends no packages.

Versions of packages offlineimap suggests:
pn  doc-base         0.10.3
pn  python-kerberos  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to