[bug-notifications] [pkgutil 0003831]: Saving of admin file still doesn't work correctly

Mantis Bug Tracker noreply at opencsw.org
Tue Aug 18 10:37:00 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3831 
====================================================================== 
Reported By:                dam
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3831
Category:                   regular use
Reproducibility:            have not tried
Severity:                   crash
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-08-07 12:48 CEST
Last Modified:              2009-08-18 10:36 CEST
====================================================================== 
Summary:                    Saving of admin file still doesn't work correctly
Description: 
On an update with
  pkgutil -U -u -y
I got after some package updates the error

...
Installation of <CSWpmipcshrlite> was successful.
Removing old version of CSWpmiozlib
pkgrm: ERROR: unable to open admin file </var/opt/csw/pkgutil/admin.run>:
No such file or directory

Removal of <CSWpmiozlib> failed (internal error).
No changes were made to the system.
Installing CSWpmiozlib-1.10,REV=2009.08.06
pkgadd: ERROR: unable to open admin file </var/opt/csw/pkgutil/admin.run>:
No such file or directory
Removing old version of CSWpmgd

The error was with this version:

root at build9s :/root > pkginfo -x CSWpkgutil
CSWpkgutil      pkgutil - Installs Solaris packages easily
                (sparc) 1.6.1,REV=2009.06.05


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

---------------------------------------------------------------------- 
 (0006586) bonivart (manager) - 2009-08-18 10:36
 http://www.opencsw.org/mantis/view.php?id=3831#c6586 
---------------------------------------------------------------------- 
Sure it's a bug but it wouldn't have worked anyway since
/var/opt/csw/pkgutil is only writable as root so the packages couldn't have
been written there either. From the start pkgutil was only meant to be run
as root and then I think it was you who requested it to be possible to use
some things as non-root and -W (workdir) came out of it. Can you try if
that works?




More information about the bug-notifications mailing list