fetchmail crashes because of missing folder
On systems with a tmpfs mounted into /var/run, fetchmail will crash right after the start-up due to the default folder /var/run/fetchmail being absent. I suggest the following patch in order to ensure the folder is created during start-up.
--- /etc/init.d/fetchmail
+++ /etc/init.d/fetchmail
@@ -19,0 +20 @@
+ checkpath -d ${pidfile%/*} -o fetchmail
(from redmine: issue id 3367, created on 2014-09-16, closed on 2014-10-08)
- Changesets:
- Revision 47ccffb4 by Natanael Copa on 2014-09-16T08:53:35Z:
main/fetchmail: create dir for pidfile on startup
ref #3367
- Revision 86f18033 by Natanael Copa on 2014-09-16T09:35:07Z:
main/fetchmail: create dir for pidfile on startup
fixes #3367