On Fri, May 23, 2008 at 3:10 PM, Alan Coopersmith
<Alan.Coopersmith at sun.com> wrote:
> Mike Gerdts wrote:
>> I have a proposed solution[1] using a transient smf service that runs
>> at boot time to and updates windex files only if they look like they
>> need to be updated.  Configuration of mandirs is done via service
>> properties.
>
> So when we install packages like the X11 man pages in /usr/X11/man, we
> would need to have them add a property to the windex service?

That would be my intent.  For now, I would say that some "base" X11
package (SUNWxwman?) would have a postinstall that adds an attribute.
There is a separate discussion[1] going on over at pkg-discuss talking
about how packages that deliver man pages can handle this more
elegantly with IPS.  Whatever I do, I am hoping to do it in such a way
that it is a logical migration to IPS if/when the time is right.

1. http://mail.opensolaris.org/pipermail/pkg-discuss/2008-May/003339.html

Apparently, I have re-invented the wheel[2].  I hope this time around
it catches on!

2. http://blogs.sun.com/sch/entry/bespoke_services_application_catman

>
> Is the system default property list going to contain just /usr/share/man
> or all the places man pages come by default?

I would look to add all of the locations that pages are delivered by
default.  This would maybe call for a relaxation of throwing a fatal
error if a directory doesn't exist.

>
>> 1. http://cr.opensolaris.org/~mgerdts/windex-service/
>
> As long as you're in makewhatis, can you throw a "-u" after sort and
> fix 4858166 (makewhatis should remove duplicate windex entries) too?

That sounds quite reasonable.  I've updated my copy and will be
pushing a new webrev shortly.

> Thanks for tackling this long standing pain in Solaris.

Glad to do it.

-- 
Mike Gerdts
http://mgerdts.blogspot.com/

Reply via email to