Bug 505073
Summary: | SELinux is preventing bitlbee (bitlbee_t) "read" etc_runtime_t. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | dwalsh, jkubin, mcepl, mcepl, mgrepl, redhat-bugzilla |
Target Milestone: | --- | Keywords: | SELinux |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-06-12 11:44:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matěj Cepl
2009-06-10 15:26:34 UTC
Re-assigning to Daniel...I think, this is your turn here. Otherwise please let me know. Thank you. Matej, What created the /etc/hosts file. it is mislabeled. restorecon /etc/hosts will fix. (In reply to comment #2) > Matej, > What created the /etc/hosts file. it is mislabeled. restorecon /etc/hosts will > fix. Hmm, why don't I have on this very default Fedora 11 install /etc/hosts in /etc/selinux/restorecond.conf and why don't I have to put chkconfig restoecond on? restorecond is not needed by default. But some process/init script rewrote the /etc/hosts file and I would like to make sure this script fixes the label when it is done. (In reply to comment #4) > restorecond is not needed by default. But some process/init script rewrote > the /etc/hosts file and I would like to make sure this script fixes the label > when it is done. I think wrong label happened by mv from backups ... I have installed totally clean system on clean hard drive (actually I got new computer from RH) and refreshed files in /etc only on as-needed basis form backups. Apparently I did dreader mv instead of cp. I also changed policy to allow all domains that can read etc_t to be able to read etc_runtime_t. etc_runtime_t is created by init scripts editing /etc files. The security difference between an etc_runtime_t and an etc_t is very limited, and init scripts can run restorecon to fix etc_runtime_t to etc_t. This means they are securitywise equivalent labels. Fixed in selinux-policy-3.6.14-3.fc12 selinux-policy-3.6.12-49.fc11 |