[oe] [meta-networking][PATCH] postfix: remove overriding config config_directory

Joe MacDonald Joe_MacDonald at mentor.com
Tue Oct 21 18:42:48 UTC 2014


Merged, thanks.
-J.

[[oe] [meta-networking][PATCH] postfix: remove overriding config config_directory] On 14.10.16 (Thu 17:02) Kai Kang wrote:

> postfix 2.11.1 adds overriding config check. In postinstall script, it
> calls command newaliases to read configure file main.cf_2.0.
> config_directory is set in config main.cf_2.0, but it is an overriding
> config and warning shows when build an image:
> 
> WARNING: log_check: There is a warn message in the logfile
> WARNING: log_check: Matched keyword: [warn]
> WARNING: log_check: newaliases: warning:
> /buildarea3/kkang/poky/qemuarm-build/tmp/work/qemuarm-poky-linux-gnueabi/core-
> image-minimal/1.0-r0/rootfs/etc/postfix/main.cf, line 27: overriding
> earlier entry: config_directory=/buildarea3/kkang/
> poky/qemuarm-build/tmp/work/qemuarm-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs/etc/postfix
> 
> Remove config_directory setting in main.cf_2.0 to avoid this warning.
> 
> Signed-off-by: Kai Kang <kai.kang at windriver.com>
> ---
>  meta-networking/recipes-daemons/postfix/files/main.cf_2.0 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-networking/recipes-daemons/postfix/files/main.cf_2.0 b/meta-networking/recipes-daemons/postfix/files/main.cf_2.0
> index a128faa..bb31451 100644
> --- a/meta-networking/recipes-daemons/postfix/files/main.cf_2.0
> +++ b/meta-networking/recipes-daemons/postfix/files/main.cf_2.0
> @@ -24,7 +24,7 @@ virtual_gid_maps = static:`grep vmail /etc/passwd | cut -d ":" -f 4`
>  
>  
>  # General stuff here again
> -config_directory = /etc/postfix
> +#config_directory = /etc/postfix
>  sample_directory = /etc/postfix
>  queue_directory = /var/spool/postfix
>  mail_spool_directory = /var/spool/mail
> -- 
> 1.9.1
> 
-- 
-Joe MacDonald.
:wq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141021/5c1aeda3/attachment-0002.sig>


More information about the Openembedded-devel mailing list