Hide Forgot
SELinux is preventing /usr/bin/pulseaudio from 'read' accesses on the archivo +sound:card0. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If desea permitir que pulseaudio tenga read acceso al +sound:card0 file Then you need to change the label on +sound:card0 Do # semanage fcontext -a -t FILE_TYPE '+sound:card0' where FILE_TYPE is one of the following: crack_db_t, policykit_var_lib_t, ssh_home_t, user_tmp_t, krb5_conf_t, xserver_tmpfs_t, iceauth_home_t, plymouth_exec_t, xauth_exec_t, xauth_home_t, auth_cache_t, alsa_etc_rw_t, xdm_tmpfs_t, sysctl_dev_t, sysctl_net_t, rpm_exec_t, security_t, pulseaudio_exec_t, gconf_etc_t, mount_exec_t, shell_exec_t, consolekit_log_t, pam_exec_t, krb5_home_t, abrt_var_run_t, proc_afs_t, oddjob_mkhomedir_exec_t, xserver_log_t, var_lib_t, dbusd_etc_t, user_home_t, updpwd_exec_t, xdm_tmp_t, xserver_t, configfile, userdomain, fusermount_exec_t, domain, sysctl_crypto_t, rpm_var_cache_t, faillog_t, lastlog_t, proc_net_t, var_log_t, chkpwd_exec_t, policykit_reload_t, xdm_etc_t, xdm_log_t, gnome_home_type, abrt_t, hostname_exec_t, samba_var_t, lib_t, initrc_var_run_t, gkeyringd_exec_t, pam_var_run_t, rpm_var_lib_t, xdm_var_lib_t, xdm_var_run_t, net_conf_t, init_exec_t, afs_cache_t, abrt_helper_exec_t, etc_runtime_t, anon_inodefs_t, gconf_home_t, sysctl_kernel_t, openct_var_run_t, config_usr_t, ld_so_t, pcscd_var_run_t, user_cron_spool_t, alsa_exec_t, udev_var_run_t, xkb_var_lib_t, shutdown_exec_t, consoletype_exec_t, xdm_rw_etc_t, accountsd_var_lib_t, textrel_shlib_t, xdm_exec_t, xdm_home_t, xdm_lock_t, pam_var_console_t, rpm_script_tmp_t, system_dbusd_var_lib_t, cgroup_t, policykit_auth_exec_t, selinux_config_t, bin_t, cert_t, lib_t, usr_t, var_t, wtmp_t, xserver_exec_t, default_context_t, pam_console_exec_t, ld_so_cache_t, sssd_public_t, hwdata_t, locale_t, var_auth_t, dbusd_exec_t, etc_t, fonts_t, user_fonts_t, user_tmpfs_t, proc_t, sysfs_t, xdm_t, loadkeys_exec_t, xdm_dbusd_t, xdm_spool_t, krb5_keytab_t, fonts_cache_t, system_cronjob_var_lib_t, ssh_agent_exec_t, plymouthd_var_log_t, security_t, shell_exec_t, net_conf_t, file_context_t, xsession_exec_t, krb5_host_rcache_t, cert_t. Then execute: restorecon -v '+sound:card0' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that pulseaudio should be allowed read access on the +sound:card0 file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep pulseaudio /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:default_t:s0 Target Objects +sound:card0 [ file ] Source pulseaudio Source Path /usr/bin/pulseaudio Port <Desconocido> Host (removed) Source RPM Packages pulseaudio-0.9.22-3.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-12.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30 16:55:57 UTC 2011 x86_64 x86_64 Alert Count 7 First Seen jue 07 abr 2011 16:21:34 COT Last Seen dom 10 abr 2011 21:03:23 COT Local ID 8223264a-b0d8-482e-bce6-d9407c001b5f Raw Audit Messages type=AVC msg=audit(1302487403.852:37): avc: denied { read } for pid=974 comm="pulseaudio" name="+sound:card0" dev=tmpfs ino=10916 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=file type=SYSCALL msg=audit(1302487403.852:37): arch=x86_64 syscall=open success=no exit=EACCES a0=7fffa7b7e240 a1=80000 a2=1b6 a3=3a30303a30303030 items=0 ppid=960 pid=974 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=pulseaudio exe=/usr/bin/pulseaudio subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: pulseaudio,xdm_t,default_t,file,read audit2allow #============= xdm_t ============== allow xdm_t default_t:file read; audit2allow -R #============= xdm_t ============== allow xdm_t default_t:file read;
Is udev running? # ps -eZ |grep udev Try to execute # restorecon -R -v PATHTO/+sound:card0 # ls -Z PATHTO/+sound:card0