Skip to content

dnsdist has a broken xml-manifest file #84

Description

@jfqd

After Installing dnsdist with pkgin in dnsdist a svcadm enable dnsdist leaves the service in maintenance state:

Could not expand method tokens in "/opt/local/bin/dnsdist -d -u dnsdist -g dnsdist -C %{config_file}": property "config_file" not found.

Running the following on the xml-manifest file is fixing it:

gsed -i -e 's/<property_group name="dnsdist" type="application">/<property_group name="application" type="application">/' /opt/local/lib/svc/manifest/dnsdist.xml
svccfg import /opt/local/lib/svc/manifest/dnsdist.xml
svcadm clear dnsdist

The property-group-name should be application instead of dnsdist.

Activity

  1. self-assigned this
    on Feb 20, 2018
  2. mamash commented on Feb 20, 2018

    @mamash

    Thanks, the property group name can be anything but it'd have to be mentioned explicitly in references. I changed it to the usual 'application' one which needs not to be treated.

  3. added 2 commits that reference this issue on Feb 20, 2018
    5002087
    d3f8e8f
  4. added a commit that references this issue on May 3, 2019
  5. added a commit that references this issue on May 21, 2019
  6. added a commit that references this issue on Aug 26, 2019
  7. added a commit that references this issue on Nov 15, 2019
  8. 96 remaining items

  9. added 6 commits that reference this issue on May 14, 2026
    8abc201
    11ad52c
    aa5ec57
    f0d0c0d
    5370ec2
    1730343
  10. added a commit that references this issue on May 22, 2026
  11. added a commit that references this issue on Sep 22, 2026
  12. added a commit that references this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions