Jail's syslogd log to host's syslogd with unix socket
Scott Lambert
lambert at lambertfam.org
Mon Dec 7 18:45:49 UTC 2009
On Mon, Dec 07, 2009 at 06:27:50PM +0200, Manolis Tzanidakis wrote:
> Hello all,
> I want to log from a jail's syslogd to the host's syslogd using a unix
> socket. I've added in host's rc.conf (followed by syslogd restart):
> syslogd_flags="-ss -l /usr/jails/jail1/var/run/log"
>
> Jail's rc.conf:
> syslogd_flags="-ss"
>
> but nothing is logged in host's syslogd. I'd like to avoid UDP if
> possible. Any ideas?
man syslogd
" -s Operate in secure mode. Do not log messages from remote
machines. If specified twice, no network socket will be opened
at all, which also disables logging to remote machines."
--
Scott Lambert KC5MLE Unix SysAdmin
lambert at lambertfam.org
More information about the freebsd-jail
mailing list