Bug 542957 - SELinux is preventing pulseaudio (xdm_t) "search" to / (mount_tmp_t).
Summary: SELinux is preventing pulseaudio (xdm_t) "search" to / (mount_tmp_t).
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1659c77289b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-01 10:23 UTC by Andrea Modesto Rossi
Modified: 2009-12-01 11:28 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-01 11:28:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrea Modesto Rossi 2009-12-01 10:23:00 UTC
Sommario:

SELinux is preventing pulseaudio (xdm_t) "search" to / (mount_tmp_t).

Descrizione dettagliata:

SELinux denied access requested by pulseaudio. / may be a mislabeled. / default
SELinux type is root_t, but its current type is mount_tmp_t. Changing this file
back to the default type, may fix your problem.

File contexts can be assigned to a file in the following ways.

  * Files created in a directory receive the file context of the parent
    directory by default.
  * The SELinux policy might override the default label inherited from the
    parent directory by specifying a process running in context A which creates
    a file in a directory labeled B will instead create the file with label C.
    An example of this would be the dhcp client running with the dhclient_t type
    and creates a file in the directory /etc. This file would normally receive
    the etc_t type due to parental inheritance but instead the file is labeled
    with the net_conf_t type because the SELinux policy specifies this.
  * Users can change the file context on a file using tools such as chcon, or
    restorecon.

This file could have been mislabeled either by user error, or if an normally
confined application was run under the wrong domain.

However, this might also indicate a bug in SELinux because the file should not
have been labeled with this type.

If you believe this is a bug, please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Abilitazione accesso in corso:

You can restore the default system context to this file by executing the
restorecon command. restorecon '/', if this file is a directory, you can
recursively restore using restorecon -R '/'.

Comando fix:

restorecon '/'

Informazioni aggiuntive:

Contesto della sorgente       system_u:system_r:xdm_t:s0-s0:c0.c1023
Contesto target               system_u:object_r:mount_tmp_t:s0
Oggetti target                / [ dir ]
Sorgente                      pulseaudio
Percorso della sorgente       /usr/bin/pulseaudio
Porta                         <Sconosciuto>
Host                          (removed)
Sorgente Pacchetti RPM        pulseaudio-0.9.15-17.fc11
Pacchetti RPM target          filesystem-2.4.21-1.fc11
RPM della policy              selinux-policy-3.6.12-83.fc11
Selinux abilitato             True
Tipo di policy                targeted
Modalità Enforcing           Enforcing
Nome plugin                   restorecon
Host Name                     (removed)
Piattaforma                   Linux (removed) 2.6.30.8-64.fc11.i586 #1
                              SMP Fri Sep 25 04:30:19 EDT 2009 i686 i686
Conteggio avvisi              3
Primo visto                   sab 10 ott 2009 23:06:29 CEST
Ultimo visto                  sab 10 ott 2009 23:06:29 CEST
ID locale                     f08f7d68-c15b-4ffc-9b89-d699fb4e96b1
Numeri di linea               

Messaggi Raw Audit            

node=(removed) type=AVC msg=audit(1255208789.735:89): avc:  denied  { search } for  pid=23903 comm="pulseaudio" name="/" dev=tmpfs ino=2526621 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mount_tmp_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1255208789.735:89): arch=40000003 syscall=196 success=no exit=-13 a0=9e6c8b0 a1=bfadd588 a2=766ff4 a3=9e50f74 items=0 ppid=1 pid=23903 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 String generated from  selinux-policy-3.6.12-83.fc11,restorecon,pulseaudio,xdm_t,mount_tmp_t,dir,search
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t mount_tmp_t:dir search;

Comment 1 Miroslav Grepl 2009-12-01 11:28:35 UTC

*** This bug has been marked as a duplicate of bug 538428 ***


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