OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003958 [cacertificates] packaging minor have not tried 2009-10-11 12:15 2009-10-18 13:23
Reporter dam View Status public  
Assigned To yann
Priority normal Resolution duplicate  
Status closed  
Summary 0003958: 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> ]
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006831)
yann (developer)
2009-10-11 14:53

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> ]
(0006843)
ihsan (developer)
2009-10-12 08:53

I've got the same issue on a new system:

[ verifying class <none> ]
/opt/csw/etc/ca-certificates.conf.csw
[ verifying class <cswpreserveconf> ]
## Executing postinstall script.
ERROR: /opt/csw/etc/ca-certificates.conf doesn't exist !
pkgadd: ERROR: postinstall script did not complete successfully

Installation of <CSWcacertificates> partially failed.
=> Installing CSWosslrt-0.9.8,REV=2009.03.27_rev=k
(0006848)
yann (developer)
2009-10-12 21:58

Ishan, I can't also reproduce your bug.
can you tell me the version of your CSWcswclassutils package and the content of the /usr/sadm/install/scripts/i.cswpreserveconf file ?

Are you installing the package in a zone or something like that ?
(0006866)
yann (developer)
2009-10-17 16:34

Please ishan and dam, can you provide me the debug of your ca_certificates package installation (pkgadd -v or pkgutil --trace) so I can make some progress on this bug ?
(0006870)
dam (administrator)
2009-10-18 12:37

The problem is located in CSWcswclassutils and a duplicate of [3959].
(0006871)
yann (developer)
2009-10-18 13:23

Reminder sent to: ihsan

Ishan, dam just closed this bug but I am not sure your bug was the same one, if you are still able to reproduce it, could you please open a new bug with the debug output of the package installation ?


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker