https://bugzilla.novell.com/show_bug.cgi?id=771811
https://bugzilla.novell.com/show_bug.cgi?id=771811#c0
Summary: postfix update does not regenerate the maps Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: varkoly@suse.com ReportedBy: meissner@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: ---
I think the postfix map regeneration is not working.
SuSEconfig seems to be gone, so it needs to be done differently on update.
Jul 15 02:16:45 beiboot postfix/cleanup[23526]: warning: database /etc/postfix/canonical.db is older than source file /etc/postfix/canonical Jul 15 02:16:45 beiboot postfix/cleanup[23526]: warning: database /etc/postfix/sender_canonical.db is older than source file /etc/postfix/sender_canonical Jul 15 02:16:45 beiboot postfix/cleanup[23526]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
https://bugzilla.novell.com/show_bug.cgi?id=771811
https://bugzilla.novell.com/show_bug.cgi?id=771811#c1
Peter Varkoly varkoly@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED
--- Comment #1 from Peter Varkoly varkoly@suse.com 2012-07-19 06:54:14 UTC --- Fixed. Created request id 128300
https://bugzilla.novell.com/show_bug.cgi?id=771811
https://bugzilla.novell.com/show_bug.cgi?id=771811#c2
--- Comment #2 from Bernhard Wiedemann bwiedemann@suse.com 2012-07-19 09:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (771811) was mentioned in https://build.opensuse.org/request/show/128300 Factory / postfix
https://bugzilla.novell.com/show_bug.cgi?id=771811
https://bugzilla.novell.com/show_bug.cgi?id=771811#c3
Leendert Meyer leen.meyer@ziggo.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leen.meyer@ziggo.nl
--- Comment #3 from Leendert Meyer leen.meyer@ziggo.nl 2012-09-28 07:36:13 UTC --- Reopening because update_postmaps does not handle file permissions like SuSEconfig did.
For example, sasl_passwd.db is not regenerated because it is in POSTFIX_MAP_LIST mentioned as sasl_passwd:600 (which is a non-existing file).
The following patch fixes this:
--- /etc/postfix/system/update_postmaps.orig 2012-08-16 11:46:38.000000000 +0200 +++ /etc/postfix/system/update_postmaps 2012-09-28 08:38:28.140182963 +0200 @@ -15,11 +15,14 @@ fi # Update the postmaps for i in $POSTFIX_MAP_LIST; do - m=/etc/postfix/$i; + p=${i#*:} + [ x$p = x$i ] && p=644 + m=/etc/postfix/${i%:*}; d=$m.db if [ -e $m -a $m -nt $d ]; then postmap $m; fi + chmod $p $d done for i in /etc/aliases /etc/aliases.d/*; do m=${i/.db//}
http://bugzilla.novell.com/show_bug.cgi?id=771811
SMASH SMASH smash_bz@suse.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| | maint:planned:update