Karen Tung wrote:
> I am working on bug 2263.
> http://defect.opensolaris.org/bz/show_bug.cgi?id=2263
> 
> Because of the way the microroot for the liveCD
> is constructed in the Distro Constructor,
> the recent introduction of the download cache in IPS caused
> the microroot to overflow.
> 
> I started fixing the problem by not putting the download cache
> into the microroot at all. This fixed the microroot overflow problem.
> 
> I didn't delete the download cache from the proto area, because
> I thought that it might be useful for IPS somehow. Unfortunately,
> I found that because the download cache info is stored
> in a large number of directories inside /var/pkg, the archiving of the
> /var directory in the liveCD is failing. The Distro Constructor
> put everything inside the /var directory into a ISO file using
> the mkisofs command. The mkisofs command has a limitation of
> only allowing 2^16 directories. Because the of large number
> of directories introduced by the download cache, we now
> have 68724 directories.
> 
> Unless the download cache feature is going to change its
> implementation to not use that many directories, the only
> way to fix the problem is to go with the change that
> Ginnie has a few days ago: simply remove the download cache
> in the proto area.
> 

It's not the only way.  We could pretty easily structure the image to 
place /var/pkg into a separately-mounted hsfs.

Also, does setting the "flush-content-cache-on-success" resolve this 
more elegantly than the brute-force hack that Ginnie's change is?  One 
message I saw in the previous discussion contended we couldn't use it 
because it needed to be reset in the installed image.  However, the 
installed image's could be reconfigured just as easily as anything else, 
so that option should be considered as well.

Dave
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to