[csw-maintainers] CSWoldap

Peter Bonivart bonivart at opencsw.org
Mon Mar 8 15:55:02 CET 2010


On Mon, Mar 8, 2010 at 3:42 PM, david <dlm at opencsw.org> wrote:
> I am progressing slowly with the testing I have updated the paths in the
> start script and SMF is almost OK. The problem that I have now is that the
> manifest that I have in my trunk/files is not being used. I can manually
> import it and it works fine. The manifest file is in trunk/files and is
> openldap.xml, after install this file should end up here:
>
> /var/opt/csw/method/manifest/network
>
> Then it would be imported into SMF by the postinstall.
>
> The file doesn't seem to end as part of the package even though it is in the
> Makefile:
>
> DISTFILES += cswopenldap openldap.xml svc-openldap
>
> The manifest ends up being this one here which does not work, any
> suggestions are much appreciated:
>
> <?xml version='1.0'?>
> <!DOCTYPE service_bundle SYSTEM
> '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
> <!--
> Service manifest for cswopenldap
> Autogenerated by CSWinitsmf
> 2008-04-21 Peter Bonivart
> -->

This is the standard manifest autogenerated when you use the initsmf
class. I'm interested in why it doesn't work but you're free to use a
custom manifest instead. Just use a magic comment in your start script
and point it to your own manifest and it will be used. You should not
try to mess with this in postinstall.

#MANIFEST /absolute/path/to/manifest   # If set, use this manifest instead

See http://wiki.opencsw.org/cswclassutils-package#toc7.

-- 
/peter


More information about the maintainers mailing list