Bug 742794 - SELinux is preventing /usr/lib64/xfce4/xfconf/xfconfd from 'write' accesses on the diretório /var/lib/gdm.
Summary: SELinux is preventing /usr/lib64/xfce4/xfconf/xfconfd from 'write' accesses o...
Keywords:
Status: CLOSED DUPLICATE of bug 742785
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:2902ff4eae4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-02 20:31 UTC by Elias Oliveira de Jesus
Modified: 2011-10-27 16:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-03 08:39:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Elias Oliveira de Jesus 2011-10-02 20:31:31 UTC
SELinux is preventing /usr/lib64/xfce4/xfconf/xfconfd from 'write' accesses on the diretório /var/lib/gdm.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that xfconfd should be allowed write access on the gdm directory 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 xfconfd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023
Target Context                system_u:object_r:xdm_var_lib_t:s0
Target Objects                /var/lib/gdm [ dir ]
Source                        xfconfd
Source Path                   /usr/lib64/xfce4/xfconf/xfconfd
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           gnome-keyring-3.0.3-1.fc15
Target RPM Packages           gdm-3.0.4-1.fc15
Policy RPM                    selinux-policy-3.9.16-38.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug
                              30 14:38:32 UTC 2011 x86_64 x86_64
Alert Count                   2
First Seen                    Sex 26 Ago 2011 02:05:02 BRT
Last Seen                     Dom 18 Set 2011 02:53:40 BRT
Local ID                      de612aa5-1e02-48d3-8f3d-e620e8e30104

Raw Audit Messages
type=AVC msg=audit(1316325220.401:83): avc:  denied  { write } for  pid=2020 comm="gnome-keyring-d" name="gdm" dev=sda7 ino=264829 scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=dir


type=AVC msg=audit(1316325220.401:83): avc:  denied  { add_name } for  pid=2020 comm="gnome-keyring-d" name=".gnome2" scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=dir


type=AVC msg=audit(1316325220.401:83): avc:  denied  { create } for  pid=2020 comm="gnome-keyring-d" name=".gnome2" scontext=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_lib_t:s0 tclass=dir


type=SYSCALL msg=audit(1316325220.401:83): arch=x86_64 syscall=mkdir success=yes exit=0 a0=277d0f0 a1=1c0 a2=2 a3=0 items=0 ppid=2019 pid=2020 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gnome-keyring-d exe=/usr/bin/gnome-keyring-daemon subj=system_u:system_r:xdm_dbusd_t:s0-s0:c0.c1023 key=(null)

Hash: xfconfd,xdm_dbusd_t,xdm_var_lib_t,dir,write

audit2allow

#============= xdm_dbusd_t ==============
#!!!! The source type 'xdm_dbusd_t' can write to a 'dir' of the following types:
# user_home_t, session_dbusd_tmp_t

allow xdm_dbusd_t xdm_var_lib_t:dir { write create add_name };

audit2allow -R

#============= xdm_dbusd_t ==============
#!!!! The source type 'xdm_dbusd_t' can write to a 'dir' of the following types:
# user_home_t, session_dbusd_tmp_t

allow xdm_dbusd_t xdm_var_lib_t:dir { write create add_name };

Comment 1 Miroslav Grepl 2011-10-03 08:39:17 UTC

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


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