[CentOS] Problem with SeLinux and syslogd

Alessio Cecchi acecchi at telemaco.it
Fri Nov 17 15:12:54 UTC 2006


Hello!

on my centos 4.4 i have enable selinux, but after this change syslogd
can't no more run:

# /etc/init.d/syslog restart
Shutting down kernel logger:                               [  OK  ]
Shutting down system logger:                               [FAILED]
Starting system logger: syslogd: error while loading shared libraries:
libc.so.6: cannot open shared object file: No such file or directory
                                                           [FAILED]
Starting kernel logger:                                    [  OK  ]


and in dmesg centos report me that:

audit(1163775960.711:5): avc:  denied  { read } for  pid=4325
comm="syslogd" name="libc.so.6" dev=dm-0 ino=4562290
scontext=root:system_r:syslogd_t tcontext=system_u:object_r:file_t
tclass=lnk_file
audit(1163775960.711:6): avc:  denied  { read } for  pid=4325
comm="syslogd" name="libc.so.6" dev=dm-0 ino=4562290
scontext=root:system_r:syslogd_t tcontext=system_u:object_r:file_t
tclass=lnk_file
audit(1163775960.711:7): avc:  denied  { read } for  pid=4325
comm="syslogd" name="libc.so.6" dev=dm-0 ino=4562222
scontext=root:system_r:syslogd_t tcontext=system_u:object_r:file_t
tclass=lnk_file

The installation in very basic, but contain piranha, pulse, and others
rpm from RHCS.

The problem is that syslogd can't log nothing :(

Why this in the default configuration?

Thanks




More information about the CentOS mailing list