Bug 560689
Summary: | chrony policy update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miroslav Lichvar <mlichvar> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | dwalsh, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.6.32-84.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-02-11 14:42:26 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
Miroslav Lichvar
2010-02-01 16:07:07 UTC
One more thing. To allow SHM be used with gpsd, these seem to be required, depending on the order in which the services were started: allow chronyd_t gpsd_t:shm { unix_read unix_write }; allow gpsd_t chronyd_t:shm { unix_read unix_write }; (In reply to comment #0) > Description of problem: > New chrony version (currently packaged only in rawhide) adds support for > several reference clocks which are not allowed by current policy. > > Version-Release number of selected component (if applicable): > selinux-policy-3.6.32-69.fc12.noarch > > Additional info: > > # PPS refclock: > allow chronyd_t device_t:chr_file { read write open }; > device_t is bad. What device is used by chrony? /dev/pps* crw-rw----. root root system_u:object_r:device_t:s0 /dev/pps0 Actually for the gpsd SHM this might be required: allow chronyd_t gpsd_t:shm { unix_read read write unix_write associate }; allow chronyd_t gpsd_tmpfs_t:file { read write }; Also, new chrony has support for memory locking and real-time scheduler setting: allow chronyd_t self:capability { sys_resource ipc_lock }; allow chronyd_t self:process setrlimit; /dev/pps.* -c gen_context(system_u:object_r:clock_device_t,s0) Everything else looks fine. I have updated policy in Rawhide. You can take the permissive domain away. Added to selinux-policy-3.6.32-81.fc12 selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-82.fc12 selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1492 selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |