Date: Mon, 30 Jan 2012 15:59:49 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Setting up a syslog server in a jail Message-ID: <4F26BE75.5080708@infracaninophile.co.uk> In-Reply-To: <31C3E932-AC4E-473B-89ED-FFB21CAA7C34@todoo.biz> References: <31C3E932-AC4E-473B-89ED-FFB21CAA7C34@todoo.biz>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 30/01/2012 15:40, bsd wrote:
> I am still not able to get the log correctly sent to the specified jail… ??
Are you running syslogd in the host environment? If so, it's probably
bound to INADDR_ANY and thus pre-empted your jailed syslog from binding
to a network port.
Try adding
syslogd_flags="-ss"
in the host environment. That prevents syslogd from listening via a
network port at all, although it will still happily log messages from
the local machine.
Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew@infracaninophile.co.uk Kent, CT11 9PW
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8mvnUACgkQ8Mjk52CukIysJwCghsh5kO19mgdw/3UQQlf+/mNy
WkoAn1T9PrZbvV3xNpnBjAlfYlyTyNHa
=kpPr
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F26BE75.5080708>
