On Tue, Nov 11, 2008 at 2:55 PM, Phusion <[EMAIL PROTECTED]> wrote:
> I installed an RPM package of syslog-ng-2.0.9 for i386. After
> installing and rebooting the following message comes up when Red Hat
> is starting services.
>
> Starting setroubleshootd: exception when creating syslog handler: (2,
> 'No such file or directory')
>
> Here are some errors from /var/log/audit/audit.log.
>
> type=AVC msg=audit(1226439903.133:21): avc:  denied  { write } for
> pid=5315 comm="syslog-ng" name="syslog-ng" dev=hda7 ino=102003
> scontext=root:system_r:syslogd_t:s0
> tcontext=system_u:object_r:var_lib_t:s0 tclass=dir
> type=SYSCALL msg=audit(1226439903.133:21): arch=40000003 syscall=5
> success=no exit=-13 a0=8061d5c a1=8241 a2=1b6 a3=8787848 items=0
> ppid=1 pid=5315 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
> fsgid=0 tty=(none) ses=1 comm="syslog-ng" exe="/sbin/syslog-ng"
> subj=root:system_r:syslogd_t:s0 key=(null)

restorecon -n -r -v /sbin
restorecon -n -r -v /etc

Look at what it is saying it needs to change... hopefully just some
config files and the binary

restorecon -r -v /sbin
restorecon -r -v /etc

I think there might be a device that needs to have a label too but not
sure. I have been using rsyslog lately.

> Phusion
>
> _______________________________________________
> rhelv5-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rhelv5-list
>



-- 
Stephen J Smoogen. -- BSD/GNU/Linux
How far that little candle throws his beams! So shines a good deed
in a naughty world. = Shakespeare. "The Merchant of Venice"

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to