[oe-commits] [meta-openembedded] 01/02: postfix: do NOT create directory /var/spool/mail

git at git.openembedded.org git at git.openembedded.org
Wed Apr 26 14:44:52 UTC 2017


This is an automated email from the git hooks/post-receive script.

joe_macdonald pushed a commit to branch master
in repository meta-openembedded.

commit 066360f31ed5a77537d52bb8f91f019f16967b59
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Mon Apr 10 10:18:15 2017 +0800

    postfix: do NOT create directory /var/spool/mail
    
    postfix installs directory /var/spool/mail which conflicts with package
    shadow.
    
    | Error: Transaction check error:
    |  file /var/spool/mail conflicts between attempted installs of
    |  postfix-3.1.1-r0.ppc64e6500 and shadow-4.2.1-r0.1.ppc64e6500
    
    Make postfix not create /var/spool/mail that it does NOT create the
    directory on Fedora and Ubuntu either.
    
    Signed-off-by: Kai Kang <kai.kang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    Signed-off-by: Joe MacDonald <joe_macdonald at mentor.com>
---
 meta-networking/recipes-daemons/postfix/postfix.inc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc
index 5bb2491..4c794ff 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -164,8 +164,6 @@ do_install () {
     install -m 770 -d ${D}${localstatedir}/spool/postfix
     chown postfix:postfix ${D}${localstatedir}/spool/postfix
 
-    install -m 2755 -d ${D}${localstatedir}/spool/mail
-    chown postfix:nogroup ${D}${localstatedir}/spool/mail
     install -m 0755 -d ${D}${localstatedir}/lib/postfix
     chown postfix:nogroup ${D}${localstatedir}/lib/postfix
     install -m 0755 -d ${D}${localstatedir}/spool/postfix

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list