[csw-maintainers] SMF integration for package that misses a startup script

Maciej Bliziński maciej at opencsw.org
Mon Mar 12 23:27:32 CET 2012


Dagobert Michelsen wrote:
> Hi Maciej,
> 
> Am 12.03.2012 um 19:01 schrieb Maciej (Matchek) Bliziński:
> > I'm working on packaging a daemon for which there is no startup script
> > available upstream. Which way should I go:
> > 
> > - write my own from scratch
> > - steal and port a script from another distribution
> > - use some kind of a gold standard template if we have one around
> > - write my own SMF manifest in XML
> > 
> > Any recommendations?
> 
> Contrary to Ben and Peter I would go with a custom manifest only if possible.
> I suggest using "manifold" which generates xml manifests on-the-fly. As we are
> more and more approaching Solaris 10 only / 11 it may be useful to integrate
> automatic SMF generation without having a boilerplate RC script.

I tried out manifold, it did produce something that was later validated
by svccfg. It looks easy enough to get started. SMF does abstract out
a couple of typically annoying things, such as tracking pids or process
groups. I'll give it a go.


More information about the maintainers mailing list