Bug 644439 - SELinux is preventing /usr/bin/pulseaudio "getattr" access on /usr/share/alsa/alsa.conf.
Summary: SELinux is preventing /usr/bin/pulseaudio "getattr" access on /usr/share...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:6aa55d10add...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-19 17:00 UTC by Amit Shah
Modified: 2010-11-01 20:51 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.9.7-7.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-01 20:51:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Amit Shah 2010-10-19 17:00:33 UTC
Summary:

SELinux is preventing /usr/bin/pulseaudio "getattr" access on
/usr/share/alsa/alsa.conf.

Detailed Description:

SELinux denied access requested by pulseaudio. It is not expected that this
access is required by pulseaudio and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:sandbox_web_client_t:s0:
                              c91,c481
Target Context                system_u:object_r:alsa_etc_rw_t:s0
Target Objects                /usr/share/alsa/alsa.conf [ file ]
Source                        pulseaudio
Source Path                   /usr/bin/pulseaudio
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pulseaudio-0.9.21-6.fc13
Target RPM Packages           alsa-lib-1.0.23-1.fc14
Policy RPM                    selinux-policy-3.9.7-1.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-39.fc14.x86_64 #1
                              SMP Fri Oct 8 16:23:12 UTC 2010 x86_64 x86_64
Alert Count                   185
First Seen                    Tue 19 Oct 2010 10:10:42 PM IST
Last Seen                     Tue 19 Oct 2010 10:27:33 PM IST
Local ID                      22d29a32-7338-4554-8930-d53952e96052
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1287507453.117:286): avc:  denied  { getattr } for  pid=2608 comm="pulseaudio" path="/usr/share/alsa/alsa.conf" dev=sda6 ino=402807078 scontext=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c91,c481 tcontext=system_u:object_r:alsa_etc_rw_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1287507453.117:286): arch=c000003e syscall=4 success=no exit=-13 a0=a522d0 a1=7fffe6ca49b0 a2=7fffe6ca49b0 a3=1a items=0 ppid=1 pid=2608 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="pulseaudio" exe="/usr/bin/pulseaudio" subj=unconfined_u:unconfined_r:sandbox_web_client_t:s0:c91,c481 key=(null)



Hash String generated from  catchall,pulseaudio,sandbox_web_client_t,alsa_etc_rw_t,file,getattr
audit2allow suggests:

#============= sandbox_web_client_t ==============
allow sandbox_web_client_t alsa_etc_rw_t:file getattr;

Comment 1 Daniel Walsh 2010-10-19 18:16:44 UTC
# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.9.7-5.fc14

Comment 2 Fedora Update System 2010-10-28 20:13:15 UTC
selinux-policy-3.9.7-7.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-7.fc14

Comment 3 Fedora Update System 2010-10-29 20:39:31 UTC
selinux-policy-3.9.7-7.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 selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-7.fc14

Comment 4 Fedora Update System 2010-11-01 20:50:42 UTC
selinux-policy-3.9.7-7.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.