Bug 748094 - SELinux is preventing /usr/bin/reporter-bugzilla from read, write access on the file /home/james.cape/.pki/nssdb/cert9.db.
Summary: SELinux is preventing /usr/bin/reporter-bugzilla from read, write access on t...
Keywords:
Status: CLOSED DUPLICATE of bug 748085
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:036d994db7aff86f0b04863f612...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-22 01:24 UTC by James Cape
Modified: 2011-10-24 05:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-24 05:41:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Cape 2011-10-22 01:24:25 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-0.rc10.git0.1.fc16.x86_64
reason:         SELinux is preventing /usr/bin/reporter-bugzilla from read, write access on the file /home/james.cape/.pki/nssdb/cert9.db.
time:           Fri Oct 21 20:24:16 2011

description:
:SELinux is preventing /usr/bin/reporter-bugzilla from read, write access on the file /home/james.cape/.pki/nssdb/cert9.db.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that reporter-bugzilla should be allowed read write access on the cert9.db 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 reporter-bugzil /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                unconfined_u:object_r:home_cert_t:s0
:Target Objects                /home/james.cape/.pki/nssdb/cert9.db [ file ]
:Source                        reporter-bugzil
:Source Path                   /usr/bin/reporter-bugzilla
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           libreport-plugin-bugzilla-2.0.6-2.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-40.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux orwell.ignore-your.tv
:                              3.1.0-0.rc10.git0.1.fc16.x86_64 #1 SMP Wed Oct 19
:                              05:02:17 UTC 2011 x86_64 x86_64
:Alert Count                   2
:First Seen                    Fri 21 Oct 2011 08:21:08 PM CDT
:Last Seen                     Fri 21 Oct 2011 08:24:04 PM CDT
:Local ID                      1fe4a528-448b-4797-aaeb-3b9d680dc571
:
:Raw Audit Messages
:type=AVC msg=audit(1319246644.45:450): avc:  denied  { read write } for  pid=4943 comm="reporter-bugzil" name="cert9.db" dev=dm-1 ino=329456 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:home_cert_t:s0 tclass=file
:
:
:type=AVC msg=audit(1319246644.45:450): avc:  denied  { open } for  pid=4943 comm="reporter-bugzil" name="cert9.db" dev=dm-1 ino=329456 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:home_cert_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1319246644.45:450): arch=x86_64 syscall=open success=yes exit=ENXIO a0=df5758 a1=42 a2=1a4 a3=0 items=0 ppid=4936 pid=4943 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=reporter-bugzil exe=/usr/bin/reporter-bugzilla subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
:
:Hash: reporter-bugzil,xdm_t,home_cert_t,file,read,write
:
:audit2allow
:
:#============= xdm_t ==============
:#!!!! The source type 'xdm_t' can write to a 'file' of the following types:
:# cgroup_t, locale_t, wtmp_t, var_auth_t, sysfs_t, user_fonts_t, xdm_spool_t, user_tmp_t, fonts_cache_t, xserver_tmpfs_t, xauth_home_t, auth_cache_t, xdm_tmpfs_t, security_t, xserver_log_t, proc_afs_t, faillog_t, xdm_tmp_t, lastlog_t, xdm_log_t, gnome_home_type, initrc_var_run_t, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, etc_runtime_t, pcscd_var_run_t, anon_inodefs_t, gconf_home_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, xdm_lock_t, pam_var_console_t, user_tmpfs_type, security_t, krb5_host_rcache_t
:
:allow xdm_t home_cert_t:file { read write open };
:
:audit2allow -R
:
:#============= xdm_t ==============
:#!!!! The source type 'xdm_t' can write to a 'file' of the following types:
:# cgroup_t, locale_t, wtmp_t, var_auth_t, sysfs_t, user_fonts_t, xdm_spool_t, user_tmp_t, fonts_cache_t, xserver_tmpfs_t, xauth_home_t, auth_cache_t, xdm_tmpfs_t, security_t, xserver_log_t, proc_afs_t, faillog_t, xdm_tmp_t, lastlog_t, xdm_log_t, gnome_home_type, initrc_var_run_t, pam_var_run_t, xdm_var_lib_t, xdm_var_run_t, etc_runtime_t, pcscd_var_run_t, anon_inodefs_t, gconf_home_t, xkb_var_lib_t, xdm_rw_etc_t, xdm_home_t, xdm_lock_t, pam_var_console_t, user_tmpfs_type, security_t, krb5_host_rcache_t
:
:allow xdm_t home_cert_t:file { read write open };
:

Comment 1 Miroslav Grepl 2011-10-24 05:41:11 UTC

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


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