[Slackbuilds-users] Problems With Postfix: post-install line 504 and SASL type

Rich Shepard rshepard at appl-ecosys.com
Sun Feb 15 17:22:41 UTC 2015


On Sun, 15 Feb 2015, Mario Preksavec wrote:

> At the moment, only version 2.11.4 is fully supported here. This update was 
> added recently, so please use that.

Mario,

   Something here no longer works. There were no problems upgrading postfix
over the past 17 years until 2.11.3. And now I cannot successfuly upgrade to
even 2.11.4.

   Downloaded the new SlackBuild script and the postfix-2.11.4 tarball.

   After the script completed:

[root at salmo /opt/slackbuilds/Office/postfix]# upgradepkg --reinstall
/tmp/postfix-2.11.4-i486-1_SBo.tgz

+==============================================================================
| Upgrading postfix-2.11.4-i486-1_SBo package using
/tmp/postfix-2.11.4-i486-1_SBo.tgz
+==============================================================================

Pre-installing package postfix-2.11.4-i486-1_SBo...
/usr/libexec/postfix/post-install: line 504: test: too many arguments
chown: cannot access '/usr/doc/postfix-2.11.3/README_FILES': No such file or
/ directory

Removing package
/var/log/packages/postfix-2.11.4-i486-1_SBo-upgraded-2015-02-15,09:06:43...

Verifying package postfix-2.11.4-i486-1_SBo.tgz.
Installing package postfix-2.11.4-i486-1_SBo.tgz:
PACKAGE DESCRIPTION:
# postfix (alternative to the widely-used Sendmail program)
#
# Postfix attempts to be fast, easy to administer, and secure, while at
# the same time being sendmail compatible enough to not upset existing
# users. Thus, the outside has a sendmail-ish flavor, but the inside is
# completely different.
#
# Packaging script written by Alan Hicks <alan at lizella.net>
# and the SlackBuilds.org Team <http://www.slackbuilds.org>
#
Executing install script for postfix-2.11.4-i486-1_SBo.tgz.
/usr/libexec/postfix/post-install: line 504: test: too many arguments
chown: cannot access '/usr/doc/postfix-2.11.3/README_FILES': No such file or
/ directory
Package postfix-2.11.4-i486-1_SBo.tgz installed.

Package postfix-2.11.4-i486-1_SBo upgraded with new package
/tmp/postfix-2.11.4-i486-1_SBo.tgz.

   Notice the two lines above: 
/usr/libexec/postfix/post-install: line 504: test: too many arguments
chown: cannot access '/usr/doc/postfix-2.11.3/README_FILES': No such file or
/ directory

   Line 504 need quotes around $path; should the quotes be added by the
source file or by the SBo script?

   Why is the upgrade looking for the 2.11.3 README_FILES?

   So, it's installed and I try starting it:

[root at salmo /opt/slackbuilds/Office/postfix]# /etc/rc.d/rc.postfix start
postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!

   Next, I changed the SlackBuild script to use cyrus. Same results as above.
In other words, 2.11.4 won't run either.

   Finally, rebuilt 2.11.3 with cyrus. Added quotes to post-install. Postfix
starts and runs.

   Please suggest other diagnostics I can run here to isolate why no version
higher than 2.11.3 runs.

Thanks again,

Rich



More information about the SlackBuilds-users mailing list