Bug 648221
| Summary: | SELinux is preventing /sbin/iwconfig access to a leaked /dev/input/event0 file descriptor. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | erazortt |
| Component: | acpid | Assignee: | Jiri Skala <jskala> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | aglotov, dwalsh, jskala, mgrepl, ted |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:ae526ceaea422bea6270ff33bbfd810cda33e0a5e2cffc3189512864915853db | ||
| Fixed In Version: | acpid-2.0.5-4.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-10 01:15:25 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
erazortt
2010-10-31 15:31:39 UTC
Executing the following command in an script upon an acpi events triggers the above SELinux message: iwconfig wlan0 power on The scipt is executed by acpid under the root account. Looks like acpid is leaking. If should call fcntl(fd, F_SETFD, FD_CLOEXEC). erazortt you can execute # grep event_device_t /var/log/audit/audit.log | audit2allow -D -M myacpid # semodule -i myacpid.pp Ok this solved the problem. Thanks. acpid-2.0.5-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/acpid-2.0.5-4.fc14 acpid-2.0.5-4.fc14 has been pushed to the Fedora 14 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 acpid'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/acpid-2.0.5-4.fc14 acpid-2.0.5-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |