| Summary: | SELinux is preventing /usr/bin/gconftool-2 from 'write' accesses on the dossier .gconf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pascal94 <306power> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:801aa84405e4afe47b971e66b45837c3183f2cb61e2d18f8732868f18e6f5563 | ||
| Fixed In Version: | selinux-policy-3.10.0-84.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-04-22 03:36:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
If you try to execute $ restorecon -R -v /var/lib/boinc are you getting an ouput? here it is : bash-4.2$ sudo restorecon -R -v /var/lib/boinc [sudo] password for pascal: restorecon reset /var/lib/boinc/notices context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/setiathome.berkeley.edu_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/archive_wuprop.boinc-af.org_notices.py.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/isaac.ssl.berkeley.edu_test_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/archive_isaac.ssl.berkeley.edu_test_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/wuprop.boinc-af.org_notices.py.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/archive_www.worldcommunitygrid.org_about_us_displayNews.do.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds_lhcathome2.cern.ch_test4theory.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds_www.worldcommunitygrid.org.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds_wuprop.boinc-af.org.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/archive_setiathome.berkeley.edu_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/www.worldcommunitygrid.org_about_us_displayNews.do.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds_isaac.ssl.berkeley.edu_test.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/archive_boinc01.cern.ch_test4theory_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/boinc01.cern.ch_test4theory_notices.php.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/notices/feeds_setiathome.berkeley.edu.xml context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/.pki context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 restorecon reset /var/lib/boinc/.pki/nssdb context system_u:object_r:boinc_project_var_lib_t:s0->system_u:object_r:boinc_var_lib_t:s0 bash-4.2$ thanks for your help *** Bug 790380 has been marked as a duplicate of this bug. *** Fixed in Fxed in selinux-policy-3.10.0-81.fc16 selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16 selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
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 'write' accesses on the dossier .gconf. time: ven. 17 févr. 2012 12:54:24 CET description: :SELinux is preventing /usr/bin/gconftool-2 from 'write' accesses on the dossier .gconf. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that gconftool-2 should be allowed write access on the .gconf 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 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 system_u:object_r:boinc_var_lib_t:s0 :Target Objects .gconf [ dir ] :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 ven. 17 févr. 2012 12:53:46 CET :Last Seen ven. 17 févr. 2012 12:53:46 CET :Local ID 16aebc82-ca4e-437d-ad54-54d52089f7aa : :Raw Audit Messages :type=AVC msg=audit(1329479626.433:76): avc: denied { write } for pid=2086 comm="gconftool-2" name=".gconf" dev=sda1 ino=794391 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1329479626.433:76): arch=x86_64 syscall=open success=yes exit=ESRCH a0=1e82190 a1=41 a2=1c0 a3=7fff56b2ccc0 items=0 ppid=2048 pid=2086 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,boinc_var_lib_t,dir,write : :audit2allow : :#============= boinc_project_t ============== :#!!!! The source type 'boinc_project_t' can write to a 'dir' of the following types: :# var_lib_t, boinc_project_var_lib_t, tmp_t, boinc_project_tmp_t : :allow boinc_project_t boinc_var_lib_t:dir write; : :audit2allow -R : :#============= boinc_project_t ============== :#!!!! The source type 'boinc_project_t' can write to a 'dir' of the following types: :# var_lib_t, boinc_project_var_lib_t, tmp_t, boinc_project_tmp_t : :allow boinc_project_t boinc_var_lib_t:dir write; :