[Bug 255897] dns/powerdns-recursor fails to start if pdns_recursor_flags rc var is set

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 15 13:06:53 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255897

            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 at FreeBSD.org
          Reporter: ale_sagra at hotmail.com
                CC: tremere at cainites.net
             Flags: maintainer-feedback?(tremere at cainites.net)
                CC: tremere at 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 
pdns_recursor_flags="--allow-from=127.0.0.0/8,10.0.0.0/24"

(or anything of your choice) in /etc/rc.conf and restart the service. Following
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-recursor.in?id=e5f6c6eee3ac2e99ec07cdb060bc6d19ed898bf1

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


More information about the freebsd-ports-bugs mailing list