Red Hat Bugzilla – Bug 140635
SELinux Targeted prevents Syslog from starting properly
Last modified: 2007-11-30 17:10:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
When the SELinux targeted policy is enabled, the syslog daemon does
not properly start. I noticed this because log messages that should
have appeared in /var/log/messages or /var/log/secure were appearing
on the console, though syslog was not configured to send them there.
I tried reinstalling the sysklogd RPM with no joy. In the end,
disabling SELinux fixed the problem. Whether this is an issue with
syslogd accessing the log files or simply starting is unclear.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Enable Targeted policy in SELinux.
Actual Results: syslogd does not start, and the init script hangs
Expected Results: syslogd should start and log events with clear
Could you attach the dmesg output when syslog fails?
Created attachment 107391 [details]
dmesg output when SELinux is enabled with a targeted policy
Here it is: I re-enabled SELinux, which is set to use the targeted poliy, in
/etc/selinux/config. This is the resulting dmesh file.
touch /.autorelabel and then a reboot solved things for me.
Is this really a duplicate of bug 140100?
Both are labeling problems.