Bug 791351

Summary: SELinux is preventing /usr/bin/gconftool-2 from 'getattr' accesses on the fichier /etc/gconf/gconf.xml.defaults/%gconf-tree.xml.
Product: [Fedora] Fedora Reporter: Pascal94 <306power>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:68f80fe50724b8d5395de940425680affd44dc0ce9141b060f7af55e032dde1f
Fixed In Version: selinux-policy-3.10.0-80.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-24 00:40:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pascal94 2012-02-16 20:10:15 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/bin/gconftool-2 from 'getattr' accesses on the fichier /etc/gconf/gconf.xml.defaults/%gconf-tree.xml.
time:           jeu. 16 févr. 2012 21:10:05 CET

description:
:SELinux is preventing /usr/bin/gconftool-2 from 'getattr' accesses on the fichier /etc/gconf/gconf.xml.defaults/%gconf-tree.xml.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that gconftool-2 should be allowed getattr access on the %gconf-tree.xml 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 gconftool-2 /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:boinc_project_t:s0
:Target Context                unconfined_u:object_r:gconf_etc_t:s0
:Target Objects                /etc/gconf/gconf.xml.defaults/%gconf-tree.xml [
:                              file ]
:Source                        gconftool-2
:Source Path                   /usr/bin/gconftool-2
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           GConf2-3.2.3-3.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux CM-ELITE-341 3.2.6-3.fc16.x86_64 #1 SMP Mon
:                              Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    jeu. 16 févr. 2012 21:09:13 CET
:Last Seen                     jeu. 16 févr. 2012 21:09:13 CET
:Local ID                      0f240087-5bf5-42ce-8b14-55adb83313b1
:
:Raw Audit Messages
:type=AVC msg=audit(1329422953.735:99): avc:  denied  { getattr } for  pid=3424 comm="gconftool-2" path="/etc/gconf/gconf.xml.defaults/%gconf-tree.xml" dev=sda1 ino=25046 scontext=system_u:system_r:boinc_project_t:s0 tcontext=unconfined_u:object_r:gconf_etc_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1329422953.735:99): arch=x86_64 syscall=fstat success=yes exit=0 a0=3 a1=7ffff2a30ab0 a2=7ffff2a30ab0 a3=7ffff2a30960 items=0 ppid=3344 pid=3424 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm=gconftool-2 exe=/usr/bin/gconftool-2 subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: gconftool-2,boinc_project_t,gconf_etc_t,file,getattr
:
:audit2allow
:
:#============= boinc_project_t ==============
:allow boinc_project_t gconf_etc_t:file getattr;
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:allow boinc_project_t gconf_etc_t:file getattr;
:

Comment 1 Miroslav Grepl 2012-02-20 13:22:42 UTC
Fixed in selinux-policy-3.10.0-75.fc16.noarch

Comment 2 Miroslav Grepl 2012-02-20 13:22:48 UTC
*** Bug 791352 has been marked as a duplicate of this bug. ***

Comment 3 Fedora Update System 2012-02-29 09:35:25 UTC
selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16

Comment 4 Fedora Update System 2012-03-01 09:26:12 UTC
Package selinux-policy-3.10.0-78.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-78.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-03-21 02:27:54 UTC
Package selinux-policy-3.10.0-80.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-80.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-03-24 00:40:07 UTC
selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.