Package: fdm
Version: 1.6-1
Severity: normal

Hi Frank,

There seems to be a problem with the lock file in fdm.

I currently have fdm configured to fetch emails fromi a pop3 server every
10 minutes, using a cron job.

In .fdm.conf, I'm using the following to ensure that there's only one
instance of fdm running.

# Lock file path.
set lock-file "${base}/lock"


Since I run it on a laptop, which I frequently keep
connecting/disconnecting and hibernating, at some point this gets
triggered while fdm is running.
I guess that is when sometime fdm is dying and is leaving a stale lock
file.
This then leads to no further fdm processes running because they
see the lock file and assume that an fdm process is already running.
Thus I end up with receiving no email messages until I realise that fdm
has left a stale lock file. Once I manually remove it, every thing runs
as normal.

IMO fdm should handle such error conditions and remove the lock file
when such circumstances trigger.


Ritesh

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core)
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 fdm depends on:
ii  adduser              3.110               add and remove users and groups
ii  libc6                2.9-12              GNU C Library: Shared libraries
ii  libpcre3             7.8-2+b1            Perl 5 Compatible Regular Expressi
ii  libssl0.9.8          0.9.8g-16           SSL shared libraries
ii  libtdb1              1.1.3~git20090221-1 Trivial Database - shared library
ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime

fdm recommends no packages.

fdm suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to