[bug-notifications] [ca_certificates 0003958]: postinstall bails out on fresh install

Mantis Bug Tracker noreply at opencsw.org
Sun Oct 11 14:53:51 CEST 2009


The following issue requires your FEEDBACK. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3958 
====================================================================== 
Reported By:                dam
Assigned To:                yann
====================================================================== 
Project:                    ca_certificates
Issue ID:                   3958
Category:                   packaging
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2009-10-11 12:15 CEST
Last Modified:              2009-10-11 14:53 CEST
====================================================================== 
Summary:                    postinstall bails out on fresh install
Description: 
On a freshly installed machine post-install bails out with

...
/opt/csw/share/ca-certificates/mozilla/beTRUSTed_Root_CA_-_RSA_Implementation.pem
/opt/csw/share/ca-certificates/mozilla/thawte_Primary_Root_CA.pem
/opt/csw/share/doc/ca-certificates/README.CSW
[ verifying class <none> ]
Copying sample config to /opt/csw/etc/ca-certificates.conf
usage:  chmod [-fR] <absolute-mode> file ...
        chmod [-fR] <ACL-operation> file ...
        chmod [-fR] <symbolic-mode-list> file ...
where   <symbolic-mode-list> is a comma-separated list of
        [ugoa]{+|-|=}[rwxXlstugo]
where   <ACL-operation> is one of the following
        A-<acl_specification>
        A[number]-
        A[number]{+|=}<acl_specification>
where   <acl-specification> is a comma-separated list of ACEs

[ verifying class <cswpreserveconf> ]

====================================================================== 

---------------------------------------------------------------------- 
 (0006831) yann (manager) - 2009-10-11 14:53
 http://www.opencsw.org/mantis/view.php?id=3958#c6831 
---------------------------------------------------------------------- 
The chmod is actually performed by the i.preserveconf class action script
so it's more likely to be a cswclassutils bug, but before reassigning the
bug, could you provide a debug output of this ca_certificate package
installation ?
(either pkgadd -v or pkgutil --trace)

I don't reproduce the bug, here is what I got:

Copying sample config to /opt/csw/etc/ca-certificates.conf
+ grep ^/opt/csw/etc/ca-certificates.conf.csw /var/sadm/install/contents 
contents=/opt/csw/etc/ca-certificates.conf.csw e cswpreserveconf 0644 root
bin 773 2257 1230074525 *CSWcacertificates
+ awk {print $4} 
+ echo /opt/csw/etc/ca-certificates.conf.csw e cswpreserveconf 0644 root
bin 773 2257 1230074525 *CSWcacertificates 
mode=0644
+ awk {print $5} 
+ echo /opt/csw/etc/ca-certificates.conf.csw e cswpreserveconf 0644 root
bin 773 2257 1230074525 *CSWcacertificates 
user=root
+ awk {print $6} 
+ echo /opt/csw/etc/ca-certificates.conf.csw e cswpreserveconf 0644 root
bin 773 2257 1230074525 *CSWcacertificates 
group=bin
+ cp /opt/csw/etc/ca-certificates.conf.csw
/opt/csw/etc/ca-certificates.conf 
+ chmod 0644 /opt/csw/etc/ca-certificates.conf 
+ chown root:bin /opt/csw/etc/ca-certificates.conf 
+ read src dest 
+ echo  

[ verifying class <cswpreserveconf> ]




More information about the bug-notifications mailing list