How to enable remote logging for syslog

Dan Track dan.track at gmail.com
Fri Mar 17 17:05:55 UTC 2006


On 3/17/06, Paul Howarth <paul at city-fan.org> wrote:
> Dan Track wrote:
> > Hi
> >
> > I'm having a problem getting remote logging working, and I've got a
> > funny feeling its to do with selinux. When restarting syslog I get the
> > following error:
> >
> > kernel: audit(1142611035.568:0): avc:  denied  { write } for
> > pid=23205 comm=syslogd name=log dev=hda1 ino=3637424
> > scontext=root:system_r:syslogd_t tcontext=root:object_r:usr_t
> > tclass=dir
> >
> > In my syslog.conf file I have:
> >
> > local4.*
> > /opt/log/cisco-firewall.log
> >
> > Can someone please help me solve this.
>
> Try:
>
> # chcon -t var_log_t /opt/log/cisco-firewall.log
>
> Paul.

Excellent. Thanks Paul that worked.

Dan




More information about the fedora-list mailing list