Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2023 08:30:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 268852] net-mgmt/unbound_exporter - rc-script has wrong arguments
Message-ID:  <bug-268852-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268852

            Bug ID: 268852
           Summary: net-mgmt/unbound_exporter - rc-script has wrong
                    arguments
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: donner@FreeBSD.org
                CC: aduitsis@cpan.org
             Flags: maintainer-feedback?(aduitsis@cpan.org)
                CC: aduitsis@cpan.org

The unbound_exporter does not start again after updates.

Reason are wrong arguments:
 - the argument is `web.listen-address` not `web.listen-adress`
 - multi-line arguments need to be concatenated by backslashes

Patch:

```
--- x   2023-01-10 09:17:42.535941000 +0100
+++ /usr/local/etc/rc.d/unbound_exporter        2023-01-10 09:13:55.3605770=
00
+0100
@@ -44,7 +44,7 @@
        ${unbound_exporter_cert:+-unbound.cert $unbound_exporter_cert} \
        ${unbound_exporter_host:+-unbound.host $unbound_exporter_host} \
        ${unbound_exporter_key:+-unbound.key $unbound_exporter_key} \
-       ${unbound_exporter_bind:+-web.listen-address $unbound_exporter_bin}
-       ${unbound_exporter_path:+-web.telemetry-patch $unbound_exporter_pat=
h}
+       ${unbound_exporter_bind:+-web.listen-adress $unbound_exporter_bind}=
 \
+       ${unbound_exporter_path:+-web.telemetry-patch $unbound_exporter_pat=
h} \
        ${unbound_exporter_args}"
```

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268852-7788>