Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 12:17:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234968] syslogd remote logging doesn't work (regression ?)
Message-ID:  <bug-234968-227-OxF80R2htL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234968-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234968-227@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #1 from Julien Cigar <julien@perdition.city> ---
Ok I found the issue, it works if I'm removing the local domain part (route=
r1
instead of router1.lan) although both "router1" and "router1.lan" return the
same ip address (10.209.1.252):


WORKS:

root@logging:~ # cat /usr/local/etc/syslog.d/saltstack.conf=20
+router1,router2,router
local6.=3Dinfo    /var/log/haproxy/http-access.log
local6.=3Derr     /var/log/haproxy/http-error.log
local5.*        /var/log/haproxy/smtp.log

DOESN'T WORK:

root@logging:~ # cat /usr/local/etc/syslog.d/saltstack.conf=20
+router1.lan,router2.lan,router.lan
local6.=3Dinfo    /var/log/haproxy/http-access.log
local6.=3Derr     /var/log/haproxy/http-error.log
local5.*        /var/log/haproxy/smtp.log

root@logging:/var/log/haproxy # host router1
router1.lan has address 10.209.1.252
root@logging:/var/log/haproxy # host router1.lan
router1.lan has address 10.209.1.252
root@logging:/var/log/haproxy # host 10.209.1.252
252.1.209.10.in-addr.arpa domain name pointer router1.lan.

is it an expected behavior ? if yes feel free to close it, but I think it
should be mentioned somewhere in the syslogd manpage.

--=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-234968-227-OxF80R2htL>