Bug 1250536
Summary: | SELinux is preventing smsd from read, write access on the chr_file ttyUSB0. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | ah |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl, plautrba |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | abrt_hash:7ed474dd2207e6bb2802d3891ac62ba13496f2ebe20daf3ea4c5f80cd49e7349 | ||
Fixed In Version: | 3.13.1-128.12.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-27 18:25:03 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
ah
2015-08-05 12:20:23 UTC
I fixed it with:
<<<<<<<<<<<<<<
module smsd_accesses_ttyUSB0 1.0;
require {
type usbtty_device_t;
type smsd_t;
class chr_file { read write ioctl open };
}
#============= smsd_t ==============
allow smsd_t usbtty_device_t:chr_file ioctl;
#!!!! This avc is allowed in the current policy
allow smsd_t usbtty_device_t:chr_file { read write open };
>>>>>>>>>>>>>
commit 36e088ba8f630a2662365f166dc4953d9b1cf17c Author: Lukas Vrabec <lvrabec> Date: Sat Aug 22 18:43:53 2015 +0200 Allow smsd use usb ttys. BZ(#1250536) selinux-policy-3.13.1-128.12.fc22 has been submitted as an update to Fedora 22. https://bugzilla.redhat.com/show_bug.cgi?id=1250536 selinux-policy-3.13.1-128.12.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14076 selinux-policy-3.13.1-128.12.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |