[Buildroot] [PATCH] package/exim: fix spool directory

Peter Korsgaard peter at korsgaard.com
Sat Feb 29 16:32:22 UTC 2020


>>>>> "Pascal" == Pascal de Bruijn <p.debruijn at unilogic.nl> 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?

 > Signed-off-by: Pascal de Bruijn <p.debruijn at unilogic.nl>
 > ---
 >  package/exim/exim.mk | 4 ++++
 >  1 file changed, 4 insertions(+)

 > diff --git a/package/exim/exim.mk b/package/exim/exim.mk
 > index e4b0bfc1b4..1ed3961a14 100644
 > --- a/package/exim/exim.mk
 > +++ b/package/exim/exim.mk
 > @@ -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
 > -- 
 > 2.17.1

 > _______________________________________________
 > buildroot mailing list
 > buildroot at busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list