Bug 671048 - SELinux is preventing /usr/libexec/gdm-session-worker from read, write access on the directory /root.
Summary: SELinux is preventing /usr/libexec/gdm-session-worker from read, write access...
Keywords:
Status: CLOSED DUPLICATE of bug 666620
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:8cce07b1884...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-20 03:09 UTC by kang.junghan
Modified: 2011-01-21 07:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-20 09:03:17 UTC
Type: ---


Attachments (Terms of Use)

Description kang.junghan 2011-01-20 03:09:09 UTC
SELinux is preventing /usr/libexec/gdm-session-worker from read, write access on the directory /root.

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

If you believe that gdm-session-worker should be allowed read write access on the root 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 gdm-session-wor /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:admin_home_t:s0
Target Objects                /root [ dir ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <알려지지 않음>
Host                          (removed)
Source RPM Packages           gdm-2.32.0-1.fc14
Target RPM Packages           filesystem-2.4.35-1.fc14
Policy RPM                    selinux-policy-3.9.7-20.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.10-74.fc14.i686 #1 SMP Thu
                              Dec 23 16:17:40 UTC 2010 i686 i686
Alert Count                   2
First Seen                    2011년 01월 20일 (목) 오후 11시 21분 47초
Last Seen                     2011년 01월 21일 (금) 오전 12시 08분 32초
Local ID                      f8e6bb0e-d7a1-4deb-a991-63b371c9db09

Raw Audit Messages
type=AVC msg=audit(1295536112.403:70): avc:  denied  { read write } for  pid=5529 comm="gdm-session-wor" name="root" dev=sda2 ino=307 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

gdm-session-wor,xdm_t,admin_home_t,dir,read,write
type=SYSCALL msg=audit(1295536112.403:70): arch=i386 syscall=access success=no exit=EACCES a0=a04cf80 a1=7 a2=59f27c a3=a0aab08 items=0 ppid=5511 pid=5529 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm=gdm-session-wor exe=/usr/libexec/gdm-session-worker subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
gdm-session-wor,xdm_t,admin_home_t,dir,read,write

#============= xdm_t ==============
#!!!! The source type 'xdm_t' can write to a 'dir' of the following types:
# pcscd_var_run_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, pam_var_console_t, cgroup_t, var_lock_t, root_t, tmp_t, var_t, user_home_dir_t, locale_t, var_auth_t, user_fonts_t, user_tmpfs_t, xdm_spool_t, tmpfs_t, fonts_cache_t, user_tmp_t, auth_cache_t, xdm_tmpfs_t, var_spool_t, var_lib_t, var_run_t, xdm_tmp_t, xserver_log_t, var_log_t, xdm_log_t, gnome_home_type, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, gconf_home_t

allow xdm_t admin_home_t:dir { read write };

Comment 1 Miroslav Grepl 2011-01-20 09:03:17 UTC

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


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