Hi Peter and Laca,
Laszlo (Laca) Peter wrote:
> On Sat, 2008-06-14 at 16:55 +0100, Peter Tribble wrote:
>
>> On Fri, Jun 6, 2008 at 8:55 PM, Erwann Chenede <[EMAIL PROTECTED]> wrote:
>>
>>> The general design for each service script is to check if the cache is
>>> older than the items it is meant to cache if so the cache is regenerated.
>>> This ensure the time spent at boot time by these services is minimum if no
>>> package upgrade happened.
>>>
>> Is this logic valid? I can think of at least 2 cases when it fails:
>>
>> - if something is removed, then the find won't find it at all
>>
>
> You're right, this is a problem with some of these services.
> For example icon-cache should be rebuilt if icons are removed.
> Unfortunately we cannot uninstall the gconf schemas when they
> are removed because we would need the .schemas files for that
> (i.e. we could only do it as a preremove action), but fortunately
> having extra config settings is not toxic.
> We need to review this.
>
We'll need to revisit these services to make them more efficient when
the IPS pkg actions are implemented/available
we could (hopefully) work on the file that trigger the action/service
instead of a best guess using find.
Erwann
Erwann Chénedé,
Desktop Group, Sun Microsystems, Grenoble
Phone : +33 476 188 358 ext: 38358
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss