Skip to contentSkip to conversation

package/exim: fix spool directory

PATCH New Pascal de Bruijn 2 participants 2 messages Feb 28, 2020 – Feb 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/exim: fix spool directory

Make sure the exim spool directory exists and
has the proper permissions so the following error
does not occur:

Cannot open main log file "/var/spool/exim/log/mainlog"

---
 package/exim/exim.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/exim/exim.mk +4 -0
index e4b0bfc1b4..1ed3961a14 100644
@@ -145,6 +145,10 @@ define EXIM_USERS
 	exim 88 mail 8 * - - - exim
 endef
 
+define EXIM_PERMISSIONS
+        /var/spool/exim d 755 88 8 - - - - -
+endef
+
 define EXIM_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 755 package/exim/S86exim \
 		$(TARGET_DIR)/etc/init.d/S86exim
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/exim: fix spool directory

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Pascal" == Pascal de Bruijn <[email protected]> writes:

Make sure the exim spool directory exists and
has the proper permissions so the following error
does not occur:

Cannot open main log file "/var/spool/exim/log/mainlog"

Isn't that a strange location for a logfile? Why is this not under /var/log?

Quoted 27 lines
---
 package/exim/exim.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/exim/exim.mk +4 -0
index e4b0bfc1b4..1ed3961a14 100644
@@ -145,6 +145,10 @@ define EXIM_USERS
 	exim 88 mail 8 * - - - exim
 endef
 
+define EXIM_PERMISSIONS
+        /var/spool/exim d 755 88 8 - - - - -
+endef
+
 define EXIM_INSTALL_INIT_SYSV
 	$(INSTALL) -D -m 755 package/exim/S86exim \
 		$(TARGET_DIR)/etc/init.d/S86exim
Signature · 6 lines
2.17.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard