October 26, 2017


So, when postgrey starts it puts a pid file in the directory /var/run/postgrey. On Debian 9 /var/run is on a temporary file system and is erased on reboot. The default init script for postgrey on does NOT create the directory for its pid file. So then you reboot the host and postgrey doesn't start and postfix returns errors about the mail server not being configured correctly and your mail all bounces for several days. What the hell, Debian.

Comments

Sounds like init script’s problem...
posted at 4:25AM PDT on October 27, 2017 by Michael
It is the init script's problem. And it is the init script that is maintained by Debian. I went in and fixed it.
posted at 7:22AM PDT on October 27, 2017 by paul
But did you submit a PR?
posted at 4:59AM PDT on October 28, 2017 by Michael
Yes, actually, I did: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880047

I also submitted one about Cassandra's inability to make JMX only listen on localhost: https://issues.apache.org/jira/browse/CASSANDRA-13977
posted at 3:22PM PDT on October 28, 2017 by paul
Fun fact, my bug in Postgrey was fixed. But it won't be released for two more years because they didn't put it into current Debian.
posted at 3:56PM PST on December 25, 2017 by paul

Post Comment

About

Location Seattle, WA
First post September 6, 2004
Total posts 5,943

Tags

  1. 1,794
  2. 693
  3. 631
  4. 585
  5. 552
  6. 494
  7. 268
  8. 192
  9. 191
  10. 139
  11. 131
  12. 105
  13. 104
  14. 86
  15. 78
  16. 70
  17. 58
  18. 56
  19. 41
  20. 26
Load the RSS feed for entries or for comments.