[Bug 1421787] [NEW] /etc/init.d/spamassassin reload fails unless /var/run/spamd/ exists for pid file
Fleish
launchpad at fleish.org
Fri Feb 13 19:06:26 UTC 2015
Public bug reported:
Spamassassin reload attempts to use pid from /var/run/spamd/spamd.pid.
However, this directory is not created by the package, therefore the
reload fails because it does not know the PID of the running process.
Manually creating this directory, killing all running spamd processess,
and calling /etc/init.d/spamassassin start fixes the issue. The
spamassassin package should create this run directory it requires on
installation.
Excerpt of /etc/init.d/spamassassin reload with missing directory:
Reloading SpamAssassin Mail Filter Daemon: + start-stop-daemon --stop --pidfile /var/run/spamd/spamd.pid --signal HUP --exec /usr/bin/perl
No /usr/bin/perl found running; none killed.
1)
Description: Ubuntu 12.04.5 LTS
Release: 12.04
2)
spamassassin:
Installed: 3.3.2-2ubuntu1.1
Candidate: 3.3.2-2ubuntu1.1
Version table:
*** 3.3.2-2ubuntu1.1 0
500 http://mirror/ubuntu/ precise-updates/main amd64 Packages
100 /var/lib/dpkg/status
3.3.2-2ubuntu1 0
500 http://mirror/ubuntu/ precise/main amd64 Packages
3)
I expect a HUP signal to be sent to spamd parent PID
4)
No HUP signal is sent, because the script cannot determine the spamd parent PID
** Affects: spamassassin (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to spamassassin in Ubuntu.
https://bugs.launchpad.net/bugs/1421787
Title:
/etc/init.d/spamassassin reload fails unless /var/run/spamd/ exists
for pid file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1421787/+subscriptions
More information about the Ubuntu-server-bugs
mailing list