Mantis - postfix
Viewing Issue Advanced Details
3060 packaging minor always 2009-02-05 18:43 2010-09-03 12:48
pfelecan  
skayser  
normal  
closed  
fixed  
none    
none  
0003060: mv error in postinstall
Solaris 10 10/08 s10x_u6wos_07b X86

In the postinstall script, when trying to move newaliases binary, the operation fails. Here is the installation relevant part:

## Executing postinstall script.
CSWpostfix is renaming /usr/lib/sendmail, /usr/bin/newaliases
and /usr/bin/mailq to *.OFF.
Turning off /usr/lib/sendmail to enable the Postfix version
Turning off /usr/bin/newaliases to enable the Postfix version
mv: cannot access /usr/bin/newaliases
Turning off /usr/bin/mailq to enable the Postfix version
Linking /usr/lib/sendmail to /opt/csw/sbin/postfix
Linking /usr/bin/newaliases to /opt/csw/bin/newaliases
Linking /usr/bin/mailq to /opt/csw/bin/mailq

************************************************************
* Warning *
************************************************************
* This package keep the configuration files under *
* /etc/opt/csw/postfix instead of the old prefix of *
* /opt/csw/etc/postfix to make it zone-safe *
************************************************************



Installation of <CSWpostfix> was successful.
Issue History
2009-02-05 18:43 pfelecan New Issue
2010-08-17 17:47 skayser Status new => assigned
2010-08-17 17:47 skayser Assigned To => skayser
2010-08-17 17:49 skayser Note Added: 0008205
2010-08-17 17:49 skayser Status assigned => feedback
2010-09-03 12:48 skayser Note Added: 0008253
2010-09-03 12:48 skayser Status feedback => closed
2010-09-03 12:48 skayser Resolution open => fixed

Notes
(0008205)
skayser   
2010-08-17 17:49   
Thanks for reporting. Updated packages with Postfix 2.7.1 are now available from experimental/:

    http://mirror.opencsw.org/experimental.html#skayser [^]

These should fix you issue. Postfix now doesn't alter the system sendmail binaries any more on postinstall. README.CSW includes instruction on how to do this manually in a non-sparse-zones enviroment.

Could you please verify whether they work for you. Postfix was updated from 2.4.6 to 2.7.1, with a substantial list of enhancements. If there are any problems with the package, please let me know.

From changelog.CSW:

  * Adopted and updated to 2.7.1. (Closes 0003580, 0003700, 0003970)
  * Moved spool directory to /var/opt/csw/spool/postfix. (Closes 0003946)
  * Added Cyrus SASL support. (Closes 0002843)
  * Added hash table support via bdb. (Closes 0002097)
  * Init / SMF handling now done with cswclassutils. (Closes 0003946)
  * Now depends on pcre_rt instead of pcre. (Closes 0003017)
  * Binaries in /opt/csw/libexec/postfix are now stripped. (Closes 0003063)
  * Doesn't automatically substitute system sendmail binaries any more.
    Please refer to README.CSW instead. (Closes 0001943, 0002964, 0003060)
(0008253)
skayser   
2010-09-03 12:48   
Fixed with 2.7.1,REV=2010.09.01 which is now available from current/.