[pkg-fetchmail-maint] Bug#348037: fetchmail: PID file searched in the wrong location

Michael Guntsche mike at it-loops.com
Sat Jan 14 10:15:29 UTC 2006


Package: fetchmail
Version: 6.3.1-2
Severity: normal

I recently updated from 6.2.5.4 to this version of fetchmail and noticed
that I was no longer able to stop the systemwide fetchmail with
/etc/init.d/fetchmail stop.
Looking at the init script I noticed that the definition of the PIDFILE
had changed.

Old Version:
PIDFILE="`getent passwd $USER | awk -F: '{ print $6 }'`/.fetchmail.pid"

New Version:
PIDFILE="/var/run/fetchmail.pid"

Since the daemon is running under the fetchmail account NO
/var/run/fetchmail.pid file gets written and s-s-d cannot find the
correct pidfile. 
Changing the definition to the one in the old version made it work
again.


Kind regards,
Michael Guntsche

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.31
Locale: LANG=C, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)

Versions of packages fetchmail depends on:
ii  adduser                       3.80       Add and remove users and groups
ii  debianutils                   2.15.2     Miscellaneous utilities specific t
ii  gettext                       0.14.5-2   GNU Internationalization utilities
ii  libc6                         2.3.5-11   GNU C Library: Shared libraries an
ii  libssl0.9.8                   0.9.8a-5   SSL shared libraries

Versions of packages fetchmail recommends:
ii  ca-certificates               20050804   Common CA Certificates PEM files

-- debconf information:
* fetchmail/confwarn:
* fetchmail/systemwide: true
* fetchmail/initdefaultswarn:
* fetchmail/runasroot: false
  fetchmail/fetchidswarn:




More information about the pkg-fetchmail-maint mailing list