Red Hat Bugzilla – Bug 490323
SELinux is preventing gpm (gpm_t) "read" etc_t.
Last modified: 2009-05-06 16:24:09 EDT
I just got this SElinux warning which asks to file a bug. I will attach the complete log.
Created attachment 335245 [details]
hmm, with gpm-1.20.6-2.fc11 and selinux-policy-3.5.13-47.fc10 everything works fine. So, it can be a bug in selinux-policy. Reassigning the bug to selinux-policy package, maintainers can take a look at it and write their opinion.
The problem here is /etc/localtime is mislabeled.
Should fix the problem.
How did /etc/localtime get created? What ever is creating it needs to execute restorecon when it completes.
Sadly the kernel did not give setroubleshoot the full path so it was not able to check the labeling of /etc/localtime.
(In reply to comment #3)
> How did /etc/localtime get created? What ever is creating it needs to execute
> restorecon when it completes.
As this is a new installation I'm quite sure Anaconda must have created it... at least I did never change anything clock/date/timezone related after installation.
Chris can you check if /etc/localtime has the correct context after a fresh install?
ls -Z /etc/localtime
# matchpathcon /etc/localtime
/etc/localtime definitely has the right context both immediately after an install and after rebooting, though I did not run through firstboot. I wonder if system-config-date copied over a new /etc/localtime and the context did not get set properly somehow.
Oh, firstboot != anaconda? Well, I definitively used firstboot.
Created attachment 335713 [details]
Patch to run restorecon after creating /etc/localtime
Thanks for the patch, version 1.9.38 which contains it is building right now.
system-config-date-1.9.38-1.fc11 is in Rawhide.