Installation of <CSWcacertificates> partially failed

Yann Rouillard yann at pleiades.fr.eu.org
Fri Oct 25 12:29:06 CEST 2013


Hi Glen,

I updated the cacertificates packages to fix a possible issue with
alternate root.
Could you please try to install it from my experimental repository ?
 pkgutil -R ... -t
http://buildfarm.opencsw.org/opencsw/experimental/yann-i
cacertificates

It it doesn't work, could you add the --trace option to pkgutil and send me
the debug output ?

If the execname error about sort happens again, could you also issue the
following command and send me the output ?
  truss -f chroot /your_alternate_root /opt/csw/sbin/update-ca-certificates

Best regards,

Yann




2013/10/24 Dagobert Michelsen <dam at opencsw.org>

> Hi Glen,
>
> Am 24.10.2013 um 16:06 schrieb Glen Gunselman <ggunselm at emporia.edu>:
>
>  Sorry forgot the pkgutil syntax.  This is command from which I extracted
> the console output:****
>
> sudo time pkgutil -R /.alt.${GG_newBE}  -u  CSWossl CSWossldevelCSWosslrt
> CSWosslutils****
>
> This is my fourth attempt to update the OpenCSW packages.
>
>
> I just checked that ca-certificates should install with -R, it looks like
> an unsuccessfully removed directory
> which should be replace by a symlink.
>
> So *inside* your BE please remove the
> directory /opt/csw/etc/ssl/certs  and replace it with this symlink:
>   /opt/csw/etc/ssl/certs -> ../../../../etc/opt/csw/ssl/certs
>
>
> ****
>  It should be noted in the OpenCSW catalog which packages are designed to
> fail when using –R  (If you want pkgutil to be a 21th century tool, it
> should stop when using –R when any of the packages will not successfully
> install/upgrade with a useful message)
>
>
> The problem is it is just not known which packages do not work with
> root-relocation. If you encounter these just drop us a note so we can fix
> them.
>
> However, the issue I see here
>
> Updating certificates in /etc/opt/csw/ssl/certs...sort: getexecname()
> failed****
>
>
> looks very strange, probably a chroot anomaly, but AFAIK sort does not
> call getexecname at all,
> so no clue here.
>
>
> Best regards
>
>   -- Dago
>
>
>
> ****
>
> Glen****
>
> *From:* users [mailto:users-bounces+ggunselm=emporia.edu at lists.opencsw.org
> ] *On Behalf Of*Dagobert Michelsen
>
> *Sent:* Thursday, October 24, 2013 2:14 AM
> *To:* Questions and discussions
> *Subject:* Re: Installation of <CSWcacertificates> partially failed****
>
> Hi Glen,****
>
> Am 24.10.2013 um 00:08 schrieb Glen Gunselman <ggunselm at emporia.edu>:****
>
>
> ****
> Anyone able to install CSWcacertificates from
> http://mirror.opencsw.org/opencsw/testing/sparc/5.10****
>  ****
> I seem to be stuck with the following:****
>  ****
> => Installing CSWcacertificates-20120511,REV=2012.05.11 (2/9) ...****
>  ****
> Processing package instance <CSWcacertificates> from
> </var/opt/csw/pkgutil/packages/cacertificates-20120511,REV
> =2012.05.11-SunOS5.9-all-CSW.pkg>****
>  ****
> cacertificates - CA certificates(all) 20120511,REV=2012.05.11****
>
> http://hg.mozilla.org/mozilla-central/raw-file/default/security/nss/lib/ckfw/builtins/
>  packaged for CSW by YannRouillard****
> Using </.alt.s10u10OpenCSW> as the package base directory.****
> ## Processing package information.****
> ## Processing system information.****
> WARNING: /opt/csw/etc/ssl/certs <no longer a directory>****
>    3 package pathnames are already properly installed.****
> ## Verifying package dependencies.****
> ## Verifying disk space requirements.****
> ## Checking for conflicts with packages already installed.****
> ## Checking for setuid/setgid programs.****
>  ****
> This package contains scripts which will be executed with super-user****
> permission during the process of installing this package.****
>  ****
> Do you want to continue with the installation of <CSWcacertificates> [y,n,?]
> y****
>  ****
> Installing cacertificates - CA certificates as <CSWcacertificates>****
>  ****
> ## Installing part 1 of 1.****
> /.alt.s10u10OpenCSW/opt/csw/etc/ssl/certs <symbolic link>****
>
> This looks like the package is installed to an alternate BE. Have you done
> special additions like -R****
> or something? Not all packages are 100% root relocatable.****
>
>
> Best regards****
>
>   -- Dago****
>
>
> ****
> pkgadd: ERROR: unable to create package object </.alt.s10u10OpenCSW/opt/
> csw/etc/ssl/certs>.****
>     file type <s> expected <d> actual****
>     unable to remove existing directory at </.alt.s10u10OpenCSW/opt/csw/
> etc/ssl/certs>****
> /.alt.s10u10OpenCSW/opt/csw/sbin/update-ca-certificates****
> …****
> /.alt.s10u10OpenCSW/opt/csw/share/doc/cacertificates/license****
> [ verifying class <none> ]****
> /.alt.s10u10OpenCSW/etc/opt/csw/pkg/CSWcacertificates/cswmigrateconf****
> [ verifying class <cswmigrateconf> ]****
> Copying sample config to /.alt.s10u10OpenCSW/etc/opt/csw/
> ca-certificates.conf****
>  ****
> [ verifying class <cswpreserveconf> ]****
> ## Executing postinstall script.****
> Updating certificates in /etc/opt/csw/ssl/certs...sort: getexecname()
> failed****
> done.****
>  ****
> Installation of <CSWcacertificates> partially failed.****
>  ****
> pkgadd failed with exit code: 2****
> Exit from pkgutil and fix this issue first (recommended)? ([y],n) y****
> Exiting pkgutil****
>  ****
>  ****
> Thanks,****
> *Glen Gunselman*****
> Systems Software Specialist****
> Information Technology****
> Emporia State University****
> 1200 Commerical St****
> Emporia Kansas 66801****
>  ****
>  ****
>
> --
> "You don't become great by trying to be great, you become great by wanting
> to do something,
> and then doing it so hard that you become great in the process." - xkcd
> #896****
>
>
>  --
> "You don't become great by trying to be great, you become great by wanting
> to do something,
> and then doing it so hard that you become great in the process." - xkcd
> #896
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20131025/45c0d8bb/attachment-0001.html>


More information about the users mailing list