Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Sep 2018 08:46:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231236] dns/ddclient: logging via syslog not possible
Message-ID:  <bug-231236-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231236
           Summary: dns/ddclient: logging via syslog not possible
           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: ohartmann@walstatt.org
                CC: mjl@luckie.org.nz
                CC: mjl@luckie.org.nz
             Flags: maintainer-feedback?(mjl@luckie.org.nz)

Running 12-CURRENT; ports and sources are (seemingly) up to date as /usr/po=
rts
is up to date and OS is 12.0-ALPHA5 FreeBSD 12.0-ALPHA5 #30 r338531: Sat Se=
p  8
07:32:10 CEST 2018 amd64.

Having configured dns/ddclient with option "syslog=3Dyes" in
/usr/local/etc/ddclient.conf (see below, working config) should provide sys=
log
backed logging. But it doesn't!

I've configured in /usr/local/etc/syslog.d/ddclient.conf the following line:

!ddclient
*.* /var/log/ddclient.log

That should be sufficient. I checked further whether syslogd works properly=
 and
even deleagtin any(!) syslog output via=20

*.* /var/log/everything.log

in /etc/syslog.conf should provide any "burp" from ddclient, if ever any go=
es
off.=20

Testing with "logger -p daemon.info -t ddclient Something" works and get its
expected impact on /var/log/ddclient.log.

So, my conclusion is that something is broken with ddclient/perl.


My configuration file looks like that:

# Globale Variablendefinitionen
daemon=3D1800
syslog=3Dyes
#facility=3Ddaemon
#priority=3Dinfo
retry=3Dyes
mail=3Droot
mail-failure=3Droot
pid=3D/var/run/ddclient.pid


###
ssl=3Dyes
ipv6=3Dyes
protocol=3Ddyndns2
use=3Dif, if=3Dtun0
server=3Dserver.to.contact
login=3Dmy@email
password=3D'somePASSWDorTOKEN'
script=3D/update
wildcard=3Dyes
all

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