Bind 9 on Solaris 10 with SMF

I decided to create my own SMF Mainfest for Bind9 on Solaris 10 for our new nameservers. Pretty basic one, I will work on a more involved one later:


< ?xml version="1.0"?>
< !DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">














3 Replies to “Bind 9 on Solaris 10 with SMF”

  1. Save that as:

    /var/svc/manifest/application/application/metadata.xml

    Then run:

    # svccfg
    svc:> validate /var/svc/manifest/application/application/metadata.xml
    svc:> import /var/svc/manifest/application/application/metadata.xml
    svc:> quit
    #

    it will then show up in svcs -a
    svcadm enable application
    svcadm disable application

  2. Actully locally created entries should only go in the /var/svc/manifest/site directory. The others are for Solaris /Sun supplied ones.

    you can also do a :
    svccfg import bind9.xml

    from the command line and it will import it in. Same for the validate..

Comments are closed.