OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004085 [texinfo] packaging minor sometimes 2009-12-17 13:36 2010-01-13 15:54
Reporter maciej View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004085: pkginstall: ERROR: postinstall script did not complete successfully
Description => Installing CSWtexinfo-4.13a,REV=2009.11.05
Please see /opt/csw/share/doc/texinfo/license for license information.
Registering existing texinfo-files...

Installation of <CSWtexinfo> was successful.
Registering existing texinfo-files...
pkginstall: ERROR: postinstall script did not complete successfully

Additional Information I checked inside /var/sadm/pkg/CSWtexinfo/install/ but there is no postinstall script there.

Looking at the source:

#!/bin/sh

BASE=${PKG_INSTALL_ROOT}/opt/csw

echo "Registering existing texinfo-files..."

FILES=`ls $BASE/share/info/*.info $BASE/share/info/*.info-*`

for i in $FILES; do
        /opt/csw/bin/install-info $i $BASE/share/info/dir 2> /dev/null
done

Seems like it assumes it can write to /opt/csw.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007152)
dam (administrator)
2009-12-28 14:21

Yes, it is mandatory to be able to write info/dir. This is the same issue as running "catman -w" which also needs write access. Would you consider this a bug? If yes under what environment?
(0007153)
maciej (reporter)
2009-12-28 14:27

It's a bug in the typical case: a non-global sparse zone which inherits /opt/csw from the global zone. In this case, the script which writes to /opt/csw needs to be run only in the global zone, and all other zones inherit the filesystem.
(0007154)
dam (administrator)
2009-12-28 15:19

New release 4.13a,REV=2009.12.28 in testing/, please verify.
(0007218)
dam (administrator)
2010-01-13 15:54

This error is most certainly fixed, please open another bug if more errors exist.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker