Date: Tue, 15 Jan 2019 13:20:29 +0100 From: Julien Cigar <julien@perdition.city> To: freebsd-questions@freebsd.org Subject: Re: freebsd remote logging Message-ID: <20190115122029.GK4293@mordor.lan> In-Reply-To: <20190115100943.GJ4293@mordor.lan> References: <20190114152246.GH4293@mordor.lan> <20190115100943.GJ4293@mordor.lan>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Tue, Jan 15, 2019 at 11:09:43AM +0100, Julien Cigar wrote: > On Mon, Jan 14, 2019 at 04:22:46PM +0100, Julien Cigar wrote: > > Hello, > > > > I have a jail "logging" with the following configuration: > > https://gist.githubusercontent.com/silenius/a1c4fb1e67d6e62943aa3b7124ffe748/raw/e1f62b55e776958e3a0f8ebee53f38d6c24dd0d1/gistfile1.txt > > > > for some unknown reasons nothing gets logged to /var/log/haproxy*.log, > > although the logs are received. > > > > When I'm adding -d flags to syslgod I'm getting the following: > > https://gist.githubusercontent.com/silenius/f7a813b665a1e0cab848e45a15a336b9/raw/5e527aca3482dade02af5588c5b50cfc554a3143/gistfile1.txt > > > > any idea what's wrong? I don't understand why the rule is > > matched/accepted but no "Logging to FILE" happens .. > > > > does something changed between 10.3 and 12.0 regarding this ? > > this is really weird, I've tried everything and it doesn't work, is it > possible that there is some regression in the 12.0-RELEASE? the same > config worked in 10.4-RELEASE. > > dns and reverse dns work are configured properly, tcpdumping the HOST > confirms that packets arrive as expected from the remote host (HAProxy), > launching the syslogd in the jail with -d confirms that messages arrive > and are parsed by syslogd but... nothing is logged to dedicated files > (except the ones from 11:01:25.185982 IP 192.168.10.34.514 > > 10.209.1.31.514: SYSLOG local6.error, length: 246) FYI I finally found the problem, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234968#c1 > > > > > Thanks, > > Julien > > > > -- > > Julien Cigar > > Belgian Biodiversity Platform (http://www.biodiversity.be) > > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > > No trees were killed in the creation of this message. > > However, many electrons were terribly inconvenienced. > > > > -- > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlw90AkACgkQsrs3EKIE I8DYSg/+NBUcGPnYRLymKG9O5on1jER9Eg64JbTxi1ZxqMS8ynl3JzasREpSNB4F rjULBZJccnVoeCRICaGZB9tKoVdndkLpGUMMi1ziGgMLldZDuJl3R3/N/Zq61QSH mUqnLDBBPkFp3zK3VEfAxTWg9uk2fIHQnD2TBLhF1Zwje2TLQnJU2DifM4lnF7ce MlwTkZNsws88Wwrxk8HsLVAYQWEP2oD8LVB+Q2QEUKJ5DsG/Rr5AsXR64938hvKZ cqo6/nxBamG0DOAMIqQV6e+qx/RU6bUDwT0RB1wGy1kjRvBfyw70xhOSlKzYJVKQ Nrp7CJ03mUEkC6UaxTPlyfSEg9IiCTnrO1aVsPeYB/UdPu7xFT2MZyWFzitJ1V39 n4P6GPHoJld+R4dpZY6xlJeb6YVsdi7K+V9MCFd0oELibvp6CUgbUurZSrsuNGjp PW34aXvatbFwqFRjFLw6Vij4+GcYUZm9mqLZeFwkaWFt4Mkkg54CLL+Op2s6gJDv wi/zvwZ3Xl1ddm1RQzD5OKP4+421TbMqfvV/pFi2utc7Uw0O/YAr82T2OXLBMu0n ys4pQA5j5TYyjr4TOxXEXrOyFw6k54LODsEHefQ+3p0Gu+R0XAhQF7J3fw8XQ0bV eLWM8ZSPvfthRzHW+TledhVmGFEv7W2nhETFQnS/9BpjmkjBXuE= =y0zo -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190115122029.GK4293>
