Bug 573164
Summary: | SELinux is preventing /usr/bin/pulseaudio "read" access on \x2fdevices\x2fpci0000:00\x2f0000:00:0f.1\x2fsound\x2fcard0. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jbox_ny |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 12 | CC: | dvdriddell, dwalsh, harald, jbox_ny, mgrepl, mike, mrblack |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:3f34514809aace6955d01a31df39943fa11f1657983650b742f0b0fee1e4da40 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-03 17:27:52 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
jbox_ny
2010-03-13 03:06:07 UTC
SOmething went wrong with udev, and it did not label these files correctly. You might have a labelling problem on your machine. Run fixfiles restore And see if this bug goes away. (In reply to comment #1) > SOmething went wrong with udev, and it did not label these files correctly. > > You might have a labelling problem on your machine. > > Run fixfiles restore > Running fixfiles restore does indeed fix my system that was experiencing the same issue. The udev update in question is luckily still in updates-testing. http://admin.fedoraproject.org/updates/udev-145-19.fc12 Dan, is this really /dev?? Looks more like /sys? name="\x2fdevices\x2fpci0000:00\x2f0000:00:0f.1\x2fsound\x2fcard0" /sys/devices/*/*/sound/card0 Harald, the question then would be how did that file get labeled as device_t? It must have been created within a device_t directory or created under /dev and mv'd to /sys (In reply to comment #4) > Harald, the question then would be how did that file get labeled as device_t? > It must have been created within a device_t directory or created under /dev and > mv'd to /sys you cannot create files in /sys *** Bug 548169 has been marked as a duplicate of this bug. *** *** Bug 561176 has been marked as a duplicate of this bug. *** stupid me.. it's the udev database: "/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:0f.1\x2fsound\x2fcard0" this is a normal text file, btw $ cat '/dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:1b.0\x2fsound\x2fcard0' E:SOUND_INITIALIZED=1 E:ID_VENDOR_FROM_DATABASE=Intel Corporation E:ID_MODEL_FROM_DATABASE=82801G (ICH7 Family) High Definition Audio Controller E:ID_BUS=pci E:ID_VENDOR_ID=0x8086 E:ID_MODEL_ID=0x27d8 E:ID_PATH=pci-0000:00:1b.0 E:SOUND_FORM_FACTOR=internal Hmm, selinux should not be very strict to read those files. It isn't but they should be labeled udev_tbl_t, rather then device_t. matchpathcon /dev/.udev/db/\x2fdevices\x2fpci0000:00\x2f0000:00:1b.0\x2fsound\x2fcard0 /dev/.udev/db/x2fdevicesx2fpci0000:00x2f0000:00:1b.0x2fsoundx2fcard0 system_u:object_r:udev_tbl_t:s0 I think /dev/.udev is mislabled sometimes and this causes files placed into this directory to be mislabeled. Or udev/libselinux is screwing up the path and getting these files mislabeled. Does udev as SELinux how to label them? This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is 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 please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. 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 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |