Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 2021 13:06:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255897] dns/powerdns-recursor fails to start if pdns_recursor_flags rc var is set
Message-ID:  <bug-255897-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 255897
           Summary: dns/powerdns-recursor fails to start if
                    pdns_recursor_flags rc var is set
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ale_sagra@hotmail.com
                CC: tremere@cainites.net
             Flags: maintainer-feedback?(tremere@cainites.net)
                CC: tremere@cainites.net

Hello,
I'm reaching out because, since this [1] commit, powerdns-recursor no longer
starts if pdns_recursor_flags rc var is set.

Reproducing the issue should be fairly simple, just set=20
pdns_recursor_flags=3D"--allow-from=3D127.0.0.0/8,10.0.0.0/24"

(or anything of your choice) in /etc/rc.conf and restart the service. Follo=
wing
error message should appear
pdns_recursor not running? (check /var/run/pdns_recursor.pid).
Starting pdns_recursor.
daemon: illegal option -- -
usage: daemon [-cfHrS] [-p child_pidfile] [-P supervisor_pidfile]
              [-u user] [-o output_file] [-t title]
              [-l syslog_facility] [-s syslog_priority]
              [-T syslog_tag] [-m output_mask] [-R restart_delay_secs]
command arguments ...
/usr/local/etc/rc.d/pdns-recursor: WARNING: failed to start pdns_recursor

reverting rc script [1] removes the error message.

[1]
https://cgit.freebsd.org/ports/commit/dns/powerdns-recursor/files/pdns-recu=
rsor.in?id=3De5f6c6eee3ac2e99ec07cdb060bc6d19ed898bf1

--=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-255897-7788>