Bug 647610
Summary: | SELinux empêche l'accès en « unix_read unix_write » à /usr/sbin/gpsd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael S. <misc> |
Component: | udev | Assignee: | udev-maint |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 14 | CC: | dwalsh, harald, jonathan, mgrepl |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:81d9d3e8a931cffc0d4e7fe63ddffb890ca3ac8a596a46f60085b8d050e832e9 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-16 16:53:37 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
Michael S.
2010-10-28 21:55:00 UTC
This happen just by running gpsd as root. The unix_read and write is needed as gpsd can be controled by a socket in /var/ This show gpsd trying to communicate with an application running as udev_t? ps -eZ | grep udev_t ~ $ ps -eZ | grep udev_t system_u:system_r:udev_t:s0-s0:c0.c1023 516 ? 00:00:04 udevd system_u:system_r:udev_t:s0-s0:c0.c1023 823 ? 00:00:00 udevd system_u:system_r:udev_t:s0-s0:c0.c1023 824 ? 00:00:00 udevd ~ $ ps -eZ | grep gps unconfined_u:unconfined_r:gpsd_t:s0-s0:c0.c1023 4121 ? 00:00:02 gpsd It may communicate with udevd, since it will read the gps device in /dev/, but I am not sure about the exact interaction. The bug likely requires a real GPS to be plugged, unfortunatly, and I do not have it now, but if you give me some test to do, I will give any needed information. Harald, do you have any ideas? I guess we can allow this. (In reply to comment #4) > Harald, do you have any ideas? I guess we can allow this. No, I have no ideas. What is the problem? Is it denied to use /dev/shm? No it looks like gpsd is trying to communicate though shared memory owned by udev. gpsd communicates with GPS devices using shared memory, ordinarily. sesearch -A -s gpsd_t -c shm Found 3 semantic av rules: allow gpsd_t gpsd_t : shm { create destroy getattr setattr read write associate unix_read unix_write lock } ; allow gpsd_t ntpd_t : shm { getattr read write associate unix_read unix_write lock } ; allow gpsd_t chronyd_t : shm { getattr read write associate unix_read unix_write lock } ; This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |