Skip site navigation (1)Skip section navigation (2)
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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig65334C6455C25499A55F6041
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 30/01/2012 15:40, bsd wrote:
> I am still not able to get the log correctly sent to the specified jail=
=85 ??=20

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=3D"-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

--=20
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


--------------enig65334C6455C25499A55F6041
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig65334C6455C25499A55F6041--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F26BE75.5080708>