Mantis - cswclassutils
Viewing Issue Advanced Details
3966 packaging minor always 2009-10-15 07:58 2009-12-10 23:34
ghenry  
bonivart  
normal  
closed  
not fixable  
none    
none  
0003966: cswclassutils fails in a zone
=> Installing CSWcswclassutils-1.18,REV=2009.08.10
/var/opt/csw/pkgutil/packages/cswclassutils-1.18,REV=2009.08.10-SunOS5.8-all-CSW.pkg.gz: 77.3% -- replaced with /var/opt/csw/pkgutil/packages/cswclassutils-1.18,REV=2009.08.10-SunOS5.8-all-CSW.pkg

Processing package instance <CSWcswclassutils> from </var/opt/csw/pkgutil/packages/cswclassutils-1.18,REV=2009.08.10-SunOS5.8-all-CSW.pkg>

cswclassutils - CSW class action utilities(all) 1.18,REV=2009.08.10

Please see /opt/csw/share/doc/cswclassutils/license for license information.

## Processing package information.
## Processing system information.
   6 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.

The following files are already installed on the system and are being
used by another package:
* /usr/sadm/install/scripts/i.cswcpsampleconf
* /usr/sadm/install/scripts/i.cswinitsmf
* /usr/sadm/install/scripts/i.cswpreserveconf
* /usr/sadm/install/scripts/i.cswusergroup
* /usr/sadm/install/scripts/r.cswinitsmf
* /usr/sadm/install/scripts/r.cswusergroup

* - conflict with a file which does not belong to any package.

Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.

Installing cswclassutils - CSW class action utilities as <CSWcswclassutils>

## Installing part 1 of 1.
/etc/opt/csw/init.d/csw.smf.sample
/opt/csw/share/doc/cswclassutils/README.CSW
/opt/csw/share/doc/cswclassutils/license
/usr/sadm/install/scripts/i.cswcpsampleconf
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/i.cswcpsampleconfy8aaxE>: (30) Read-only file system
/usr/sadm/install/scripts/i.cswinitsmf
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/i.cswinitsmfz8aaxE>: (30) Read-only file system
/usr/sadm/install/scripts/i.cswpreserveconf
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/i.cswpreserveconfA8aaxE>: (30) Read-only file system
/usr/sadm/install/scripts/i.cswpycompile
pkgadd: ERROR: unable to open </usr/sadm/install/scripts/i.cswpycompile> for writing: (30) Read-only file system
/usr/sadm/install/scripts/i.cswusergroup
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/i.cswusergroupB8aaxE>: (30) Read-only file system
/usr/sadm/install/scripts/r.cswinitsmf
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/r.cswinitsmfC8aaxE>: (30) Read-only file system
/usr/sadm/install/scripts/r.cswpycompile
pkgadd: ERROR: unable to open </usr/sadm/install/scripts/r.cswpycompile> for writing: (30) Read-only file system
/usr/sadm/install/scripts/r.cswusergroup
pkgadd: ERROR: unable to create unique temporary file </usr/sadm/install/scripts/r.cswusergroupD8aaxE>: (30) Read-only file system
[ verifying class <none> ]
ERROR: content verification of </usr/sadm/install/scripts/i.cswcpsampleconf> failed
    unable to fix modification time
    file size <1039> expected <803> actual
    file cksum <18743> expected <63996> actual
ERROR: content verification of </usr/sadm/install/scripts/i.cswinitsmf> failed
    unable to fix modification time
    file size <9252> expected <6858> actual
    file cksum <41917> expected <8202> actual
ERROR: content verification of </usr/sadm/install/scripts/i.cswpreserveconf> failed
    unable to fix modification time
    file size <1320> expected <986> actual
    file cksum <38711> expected <14971> actual
ERROR: attribute verification of </usr/sadm/install/scripts/i.cswpycompile> failed
    pathname does not exist
ERROR: content verification of </usr/sadm/install/scripts/i.cswusergroup> failed
    unable to fix modification time
    file size <2105> expected <2027> actual
    file cksum <20009> expected <14107> actual
ERROR: content verification of </usr/sadm/install/scripts/r.cswinitsmf> failed
    unable to fix modification time
    file size <2995> expected <1555> actual
    file cksum <40828> expected <58585> actual
ERROR: attribute verification of </usr/sadm/install/scripts/r.cswpycompile> failed
    pathname does not exist
ERROR: content verification of </usr/sadm/install/scripts/r.cswusergroup> failed
    unable to fix modification time
    file size <2116> expected <2038> actual
    file cksum <25358> expected <19447> actual

Installation of <CSWcswclassutils> partially failed.
Issue History
2009-10-15 07:58 ghenry New Issue
2009-10-15 21:33 bonivart Status new => assigned
2009-10-15 21:33 bonivart Assigned To => bonivart
2009-10-15 21:38 bonivart Note Added: 0006860
2009-10-16 09:20 ghenry Note Added: 0006861
2009-10-16 09:23 ghenry Note Added: 0006862
2009-10-16 10:59 bonivart Note Added: 0006863
2009-10-19 20:31 bonivart Note Added: 0006879
2009-10-20 16:21 ghenry Note Added: 0006881
2009-10-21 16:27 ghenry Note Edited: 0006881
2009-10-31 12:10 bonivart Note Added: 0006925
2009-12-07 18:28 bonivart Note Added: 0007071
2009-12-10 23:34 bonivart Status assigned => closed
2009-12-10 23:34 bonivart Resolution open => not fixable

Notes
(0006860)
bonivart   
2009-10-15 21:38   
If you have a read-only /usr file system through using a sparse zone you can't install cswclassutils there. You need to install it from the global zone instead. Maybe you did that because you had those file collisions? Did you in that case use -G so it didn't get installed to all zones? Because otherwise the dependency would be fulfilled.
(0006861)
ghenry   
2009-10-16 09:20   
yes, ithe problem is with sparse zone. I have many sparse zones, and each sparse zone has different opencsw packages installed. So i don't want to install opencsw in global zone, because each zone can have different releases of each package.
And in my sparse zone, pkgutil.conf contains:
pkgaddopts=-G
(0006862)
ghenry   
2009-10-16 09:23   
do you mean, that, only for the classutils package, we have to install it from the global zone, without the -G flag? After that, we can continue to install packages in non global zones?
is it sufficient?
(0006863)
bonivart   
2009-10-16 10:59   
Yes, exactly. Try installing only cswclassutils (without -G) from the global zone, it should then be visible from all zones. Then when you install stuff in zones the dependency to cswclassutils should be fulfilled already.
(0006879)
bonivart   
2009-10-19 20:31   
Have you had a chance to try this?
(0006881)
ghenry   
2009-10-20 16:21   
(edited on: 2009-10-21 16:27)
ok, i just finished to test it. It's works well, but not very friendly:
- in GZ, modify pkgutil.conf to comment -G option
- in GZ, install cswclassutils
- now cswclassutils is installed in NGZ
- in GZ, uncomment -G option in pkgutil.conf

but what will happen when cswclassutils should be updated? we have to remember this complex procedure, else the cswclassutils will be updated in GZ only

(0006925)
bonivart   
2009-10-31 12:10   
I'm not sure about you having to redo all that since the non-global install is just fictional anyway. It should be enough to update in the global zone (with -G), that will give you new files in /usr and the dependency is still met from the non-global zones.
(0007071)
bonivart   
2009-12-07 18:28   
I will close this bug in a few days...