All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] postfix: remove overriding config config_directory
@ 2014-10-16  9:02 Kai Kang
  2014-10-21 18:42 ` Joe MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Kai Kang @ 2014-10-16  9:02 UTC (permalink / raw)
  To: openembedded-devel

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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-networking][PATCH] postfix: remove overriding config config_directory
  2014-10-16  9:02 [meta-networking][PATCH] postfix: remove overriding config config_directory Kai Kang
@ 2014-10-21 18:42 ` Joe MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Joe MacDonald @ 2014-10-21 18:42 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

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@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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 501 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-21 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-16  9:02 [meta-networking][PATCH] postfix: remove overriding config config_directory Kai Kang
2014-10-21 18:42 ` Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.