[Postfix RPMs] Reported problems with my RPMs

Alex Kramarov address at removed
Wed Apr 10 17:18:01 CEST 2002


Actually, i would like to contribute description of 2 more problems :

1. the rpm does not create the /etc/aliases file (i agree the source doesn't
do it also, but usign the rpm you expect it to do everything, and it's even
more important because postfix doesn't give a clear error message when
/etc/aliases is missing, but a cryptic "unknown transport error")

2. i compiled the srpm on my 7.2 machine, and it ran "at least" 2 times
slower then the postfix compiled from source. after that i didn't contilue
investigating, recompiled the source from postfix.org and left the rpm to
mature. i would like to emphasise, that i applied the same optimisation to
the postfix installed from the rpm, as to the costfix compiled from source
(chattr -S /var/spool/postfix, async logging by syslog, mount the spool
partition in journal mode)

----- Original Message -----
From: "Simon J Mudd" <sjmudd at pobox.com>
To: "Postfix RPM Announcements" <postfix-rpm-announce at WL0.org>
Sent: Wednesday, April 10, 2002 4:04 PM
Subject: [Postfix RPMs] Reported problems with my RPMs


> Hello All,
>
> This message is just to warn those of you who may upgrade my packages
> about a problem which a few people have experienced during a package
> upgrade.  I'd also like to solicit help from those of you who may already
> have experienced this problem.
>
> A user, having self-built a package has experienced the following problem
> on package upgrade:
>
> ---
> # rpm -qa|grep postfix
> postfix-20010808snapshot-5ldap+pcre
> # rpm -Fvh postfix-1.1.7-1.rh70.1.ldap.pcre.i386.rpm
> Preparing...                ###########################################
> [100%]
>    1:postfix
> warning: /etc/cron.daily/1postfix createdas
/etc/cron.daily/1postfix.rpmnew
> warning: /etc/postfix/main.cf created as /etc/postfix/main.cf.rpmnew
> warning: /etc/postfix/master.cf created as/etc/postfix/master.cf.rpmnew
> ########################################### [100%]
> /var/tmp/rpm-tmp.84496: line 9: syntax error near unexpected token `}'
> /var/tmp/rpm-tmp.84496: line 9: `    copy() { file=`basename $1`; ln -f
> $1 $2/$file 2>/dev/null || { test -L $1 2>/dev/null && { dest=`ls -l $1|
> awk '{print $11}'`; ln -sf $dest $2/$file; } || cp -dpf $1 $2/$file; }
> }'
> error: execution of %post scriptlet from
> postfix-1.1.7-1.rh70.1.ldap.pcre failed, exit status 2
> ---
>
> This led him to have two postfix packages installed and the upgrade script
> didn't terminate properly leaving master.cf incorrectly configured for the
> newer version of postfix.
>
> Obviously I would like to avoid this happening but the spec file's use of
> the copy function works fine on my machine.  One or two other people have
> complained about this failing but I haven't yet discovered exactly what
> I'm doing wrong.
>
> Therefore I'd ask anyone who experiences this, or has experienced
> this problem to advise me of the system that causes the error and the
> packages installed to which this may be related, ie the output of:
>
> rpm -q rpm
> rpm -q redhat-release
> rpm -qf /bin/ln
> rpm -qf /bin/ls
> rpm -qf /bin/awk
> rpm -qf /bin/cp
> rpm -qf /bin/basename
> rpm -qf /bin/sh
>
> Many thanks for the pointers you can give me and hopefully I'll avoid this
> bug catching others.
>
> Regards,
>
> Simon
> --
> Simon J Mudd,   Tel: +34-91-408 4878,  Mobile: +34-605-085 219
> Madrid, Spain.  email: sjmudd at pobox.com,  Postfix RPM Packager
>
>
+-------------------------------------------------------------------------+
> | Previous messages sent to this list can be found at:
|
> |
|
> |     http://www.ea4els.ampr.org/cgi-bin/wilma/postfix-rpm-announce
|
> |
|
> | To unsubscribe: send the line "unsubscribe postfix-rpm-announce" in the
|
> | BODY of a message to majordomo at ea4els.ampr.org
|
>
+-------------------------------------------------------------------------+
>
> .

+-------------------------------------------------------------------------+
| Previous messages sent to this list can be found at:                    |
|                                                                         |
|     http://www.ea4els.ampr.org/cgi-bin/wilma/postfix-rpm-announce       |
|                                                                         |
| To unsubscribe: send the line "unsubscribe postfix-rpm-announce" in the |
| BODY of a message to majordomo at ea4els.ampr.org                          |
+-------------------------------------------------------------------------+



More information about the Postfix-rpm-announce mailing list