[CentOS] Problem with SeLinux and syslogd

Fri Nov 17 15:18:37 UTC 2006
Rodrigo Barbosa <rodrigob at darkover.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Give "fixfiles relabel" a try. It should solve your problem.

On Fri, Nov 17, 2006 at 04:12:54PM +0100, Alessio Cecchi wrote:
> 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
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

- -- 
Rodrigo Barbosa
"Quid quid Latine dictum sit, altum viditur"
"Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFXdLNpdyWzQ5b5ckRAnxEAKCjBgpv/cDgX1gHic3MHxgH2mRnNwCfbx0N
YIxZq+Yyn+/5HPHCQj+Ej/U=
=n76P
-----END PGP SIGNATURE-----