Bug 906959
| Summary: | SELinux is preventing plugin-config from 'read' accesses on the file /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/ACPI0003:00/power_supply/AC0/online. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | cezar.a.bernardi | ||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 17 | CC: | dominick.grift, dwalsh, mgrepl | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:c349d2ed8e028dd101b6cc7978f36755a0d206fd373e5ad89acfb217faeab0dd | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-02-12 05:09:34 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: | |||||||||
| Attachments: |
|
||||||||
Created attachment 691845 [details]
File: type
Created attachment 691846 [details]
File: hashmarkername
Added.
commit f92297aa8f87f2c1acb8ffd1569767afefa689d3
Author: Miroslav Grepl <mgrepl>
Date: Mon Feb 4 11:37:04 2013 +0100
Allow mozilla-plugin-config to read power_supply info
selinux-policy-3.10.0-167.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-167.fc17 Package selinux-policy-3.10.0-167.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-167.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-1971/selinux-policy-3.10.0-167.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-167.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |
Additional info: libreport version: 2.0.18 kernel: 3.6.11-5.fc17.x86_64 description: :SELinux is preventing plugin-config from 'read' accesses on the file /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/ACPI0003:00/power_supply/AC0/online. : :***** Plugin catchall (100. confidence) suggests *************************** : :If você acredita que o plugin-config deva ser permitido acesso de read em online file por default. :Then você precisa reportar este como um erro. :Você pode gerar um módulo de política local para permitir este acesso. :Do :permitir este acesso agora executando: :# grep plugin-config /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context unconfined_u:unconfined_r:mozilla_plugin_config_t: : s0-s0:c0.c1023 :Target Context system_u:object_r:sysfs_t:s0 :Target Objects /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/ACPI : 0003:00/power_supply/AC0/online [ file ] :Source plugin-config :Source Path plugin-config :Port <Desconhecido> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-166.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.11-5.fc17.x86_64 #1 SMP Tue : Jan 8 21:40:51 UTC 2013 x86_64 x86_64 :Alert Count 1 :First Seen 2013-01-31 17:16:40 BRST :Last Seen 2013-01-31 17:16:40 BRST :Local ID 53c671a6-dba0-4dca-9ca5-4352459192c1 : :Raw Audit Messages :type=AVC msg=audit(1359659800.714:188): avc: denied { read } for pid=10111 comm="plugin-config" path="/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/ACPI0003:00/power_supply/AC0/online" dev="sysfs" ino=10523 scontext=unconfined_u:unconfined_r:mozilla_plugin_config_t:s0-s0:c0.c1023 tcontext=system_u:object_r:sysfs_t:s0 tclass=file : : :Hash: plugin-config,mozilla_plugin_config_t,sysfs_t,file,read : :audit2allow : :#============= mozilla_plugin_config_t ============== :allow mozilla_plugin_config_t sysfs_t:file read; : :audit2allow -R : :#============= mozilla_plugin_config_t ============== :allow mozilla_plugin_config_t sysfs_t:file read; :