On Fri, May 09, 2008 at 08:42:59PM +0100, John Levon wrote:

> This isn't something that exists today (being able to 'ping'), is it?

No, but Bart's working on it.

> I think I must have missed the tag thing too, what would that look like
> in a package definition?

It's just another key/value pair associated with an action.  I don't know
offhand what Bart's calling it.

> More generally, this sounds like it requires significant reworking of
> system functionality.

Not especially, I don't think.  In this case, we already have a syseventd
service.  Its start method could simply be enhanced to do the work.  Then
you deliver a file to, say, /etc/sysevent.d, tag that file as requiring a
ping to the sysevent service, which gets restarted, or refreshed.

It's a tiny amount of work on the part of someone delivering a sysevent,
and a little bit of work on the part of the folks delivering the service.

> What happens when it's upstream stuff - would we have to rewrite all that
> stuff too to be able to get an SMF "ping" and scan a directory for
> new/removed files?

"All that stuff" is overblowing it, I think.  All the gnome stuff will be
done -- menu items, icons, etc. -- as well as SMF manifests, info's dir
file, windex, syseventd.  I'm sure there are others, but these can mostly
be done with a simple wrapper around the existing functionality, which is
something that most SMF services have anyway.  And the number of frameworks
is much higher than the number of things delivering into those frameworks.

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

Reply via email to