Summary: SELinux is preventing /sbin/alsactl "write" access on /dev/pts/0. Detailed Description: SELinux denied access requested by alsactl. It is not expected that this access is required by alsactl 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 system_u:system_r:alsa_t:s0 Target Context system_u:object_r:devpts_t:s0 Target Objects /dev/pts/0 [ chr_file ] Source alsactl Source Path /sbin/alsactl Port <Unknown> Host (removed) Source RPM Packages alsa-utils-1.0.22-1.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-103.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.19.fc12.i686.PAE #1 SMP Thu Feb 11 07:22:55 UTC 2010 i686 i686 Alert Count 2 First Seen Tue 23 Mar 2010 10:03:31 AM CET Last Seen Tue 23 Mar 2010 10:03:31 AM CET Local ID c30f9ddd-ba47-46f7-b267-5fc9acf77a7d Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1269335011.69:16): avc: denied { write } for pid=1492 comm="alsactl" path="/dev/pts/0" dev=devpts ino=3 scontext=system_u:system_r:alsa_t:s0 tcontext=system_u:object_r:devpts_t:s0 tclass=chr_file node=(removed) type=SYSCALL msg=audit(1269335011.69:16): arch=40000003 syscall=4 success=no exit=-13 a0=2 a1=bfaf555c a2=2d a3=2d items=0 ppid=1490 pid=1492 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="alsactl" exe="/sbin/alsactl" subj=system_u:system_r:alsa_t:s0 key=(null) Hash String generated from catchall,alsactl,alsa_t,devpts_t,chr_file,write audit2allow suggests: #============= alsa_t ============== allow alsa_t devpts_t:chr_file write;
I don't know if this is actually a bug, but I reported it anyway as other people may also encounter it and be similarly confused as I am.
The AVC is indicating that alsa tried to write to /dev/pts/0 which is probably stdin. It can be safely ignored. Miroslav add term_dontaudit_use_generic_ptys(alsa_t) term_dontaudit_use_all_ptys(alsa_t)
Fixed in selinux-policy-3.6.32-108.fc12
selinux-policy-3.6.32-108.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-108.fc12
selinux-policy-3.6.32-108.fc12 has been pushed to the Fedora 12 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: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-108.fc12
selinux-policy-3.6.32-108.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.