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

Mantis Bug Tracker noreply at opencsw.org
Mon Aug 17 16:40:56 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://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-17 16:40 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


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

---------------------------------------------------------------------- 
 (0006585) dam (reporter) - 2009-08-17 16:40
 http://opencsw.org/mantis/view.php?id=3831#c6585 
---------------------------------------------------------------------- 
When download is ran as a normal user the admin-file can't be written:

build8st% id
uid=10000(dam) gid=10000(csw)
build8st% pkgutil -t http://mirror.opencsw.org/opencsw/testing -d perl
Can't open /var/opt/csw/pkgutil/admin.run: Permission denied

Maybe you should write the lockfile to /var/run, additionally, on
downloading there should be no necessity for locking at all.




More information about the bug-notifications mailing list