Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2004 15:16:16 +0200
From:      "Gareth Bailey" <blygar1@webmail.co.za>
To:        freebsd-questions@freebsd.org
Subject:   Re: Ipmon & security log rotation
Message-ID:  <web-350367526@mail01.infosat.net>
In-Reply-To: <MIEPLLIBMLEEABPDBIEGGEBLGEAA.Barbish3@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
The -D flag tells it to run as daemon. Starting ipmon with
ipmon_flags="-D /var/log/security" in rc.conf works fine.
It logs to security as required. The problem comes in when
the /var/log/security file is rotated by newsyslog. After
this occurs, logging stop all together even though ipmon is
still running!

Thanks
Gareth

On Fri, 25 Jun 2004 08:52:40 -0400
 "JJB" <Barbish3@adelphia.net> wrote:
> If you are saying that you have "/sbin/ipmon -D
> /var/log/security"
> on the rc.conf statement, then you are telling it to do 2
> conflicting things. The /var/log/security part needs to
> be removed.
> It's telling ipmon to use manual log file after you tell
> with -d to
> use syslog log function.
> 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of
> Gareth
> Bailey
> Sent: Friday, June 25, 2004 8:16 AM
> To: freebsd-questions@freebsd.org
> Subject: Ipmon & security log rotation
> 
> I start ipmon at boot time with "/sbin/ipmon -D
> /var/log/security". Ipmon works fine but seems to stop
> logging entries to the security logfile when it is
> rotated.
> 
> newsyslog.conf sets mode to 700, which should be fine
> since
> ipmon is run as root (i think?)
> 
> How could i correct this?
> 
> Thanks
> Gareth
>
____________________________________________________________________
> _
> For super low premiums ,click here
> http://www.dialdirect.co.za/quote
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 

_____________________________________________________________________
For super low premiums ,click here http://www.dialdirect.co.za/quote



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