*** This bug is a duplicate of bug 981789 ***
https://bugs.launchpad.net/bugs/981789
** Description changed:
Ubuntu 12.04.4 LTS, 64-bit version
postgrey 1.34-1
- I cannot force reload of whitelist with reload commend to service script
+ I cannot force reload of whitelist with reload command to service script
of postgrey
# service postgrey reload
* Reloading postfix greylisting daemon configuration......
[fail]
This command is called from the script /etc/init.d/postgrey, it looks
OK:
start-stop-daemon --stop --signal 1 --quiet --pidfile
/var/run/postgrey.pid --name postgrey
When I manually send signal 1 to postgrey, whitelists are reloaded, so
it proves that postgrey handles signal 1 correctly.
Problem is with PID file, /var/run/postgrey.pid. PID stored in the file
is not the PID of running postgrey.
# cat /var/run/postgrey.pid
3932
# ps -p 3932
PID TTY TIME CMD
# ps ax | grep postgrey | grep -v grep
1084 ? Ss 0:11 /usr/sbin/postgrey --pidfile=/var/run/postgrey.pid
--daemonize --inet=10023
postgrey runs with PID 1084 but 3932 is reported in
/var/run/postgrey.pid
-
- Status query has the same problem, it report that postgrey is not running but
it is not true because it runs with different PID...
+ Status query has the same problem, it report that postgrey is not
+ running but it is not true because it runs with different PID...
# service postgrey status
- * postgrey is not running
+ * postgrey is not running
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1289424
Title:
postgrey cannot do reload and check status (PID problem)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgrey/+bug/1289424/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs