I am concerned about moving  /var/pkg/download to a read-only FS on 
the liveCD.  Please make sure that any approach you choose does not 
prevent a user  from downloading a   new pkg from the repository.

I would like to understand the impact of not having this cache on a 
freshly installed system. 


-Sanjay

Karen Tung wrote:
> I am working on bug 2263.
> http://defect.opensolaris.org/bz/show_bug.cgi?id=226
>
> 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.
>
> Since I am not very familiar with the download cache, can the
> experts comment on whether removing it in the LiveCD will
> affect the performance of IPS in anyway after the LiveCD is installed?
> Any other suggestions on solving this problem?
>
> Thanks,
>
> --Karen
>
>
> _______________________________________________
> caiman-discuss mailing list
> [EMAIL PROTECTED]
> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss
>   

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

Reply via email to