Bug 753154 - SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the directory dconf.
Summary: SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the dire...
Keywords:
Status: CLOSED CURRENTRELEASE
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:e61e349c6bd88405960ede48c16...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-11 13:21 UTC by Jared Smith
Modified: 2011-11-11 14:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-11 14:39:54 UTC
Type: ---


Attachments (Terms of Use)

Description Jared Smith 2011-11-11 13:21:09 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.fc16.x86_64
reason:         SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the directory dconf.
time:           Fri Nov 11 08:20:22 2011

description:
:SELinux is preventing /bin/systemd-tmpfiles from 'write' accesses on the directory dconf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemd-tmpfiles should be allowed write access on the dconf 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 systemd-tmpfile /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:systemd_tmpfiles_t:s0
:Target Context                system_u:object_r:config_home_t:s0
:Target Objects                dconf [ dir ]
:Source                        systemd-tmpfile
:Source Path                   /bin/systemd-tmpfiles
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           systemd-units-36-3.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-46.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux localhost.localdomain 3.1.0-7.fc16.x86_64 #1
:                              SMP Tue Nov 1 21:10:48 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Fri 11 Nov 2011 08:18:37 AM EST
:Last Seen                     Fri 11 Nov 2011 08:18:37 AM EST
:Local ID                      d7a39b87-670e-4b26-a466-348a7a7420bc
:
:Raw Audit Messages
:type=AVC msg=audit(1321017517.231:89): avc:  denied  { write } for  pid=2858 comm="systemd-tmpfile" name="dconf" dev=tmpfs ino=20938 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:config_home_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1321017517.231:89): arch=x86_64 syscall=unlinkat success=no exit=EACCES a0=6 a1=1ef63eb a2=0 a3=7fffdef1e2a0 items=0 ppid=1 pid=2858 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tmpfile exe=/bin/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null)
:
:Hash: systemd-tmpfile,systemd_tmpfiles_t,config_home_t,dir,write
:
:audit2allow
:
:#============= systemd_tmpfiles_t ==============
:#!!!! The source type 'systemd_tmpfiles_t' can write to a 'dir' of the following types:
:# man_t, device_t, root_t, var_auth_t, tmp_t, usr_t, var_t, etc_t, file_t, tmpfs_t, lockfile, pidfile, tmpfile, sandbox_file_t, var_spool_t, httpd_cache_t, modules_object_t, faillog_t, var_lib_t, rpm_var_lib_t, httpd_sys_rw_content_t
:
:allow systemd_tmpfiles_t config_home_t:dir write;
:
:audit2allow -R
:
:#============= systemd_tmpfiles_t ==============
:#!!!! The source type 'systemd_tmpfiles_t' can write to a 'dir' of the following types:
:# man_t, device_t, root_t, var_auth_t, tmp_t, usr_t, var_t, etc_t, file_t, tmpfs_t, lockfile, pidfile, tmpfile, sandbox_file_t, var_spool_t, httpd_cache_t, modules_object_t, faillog_t, var_lib_t, rpm_var_lib_t, httpd_sys_rw_content_t
:
:allow systemd_tmpfiles_t config_home_t:dir write;
:

Comment 1 Daniel Walsh 2011-11-11 14:39:54 UTC
yum -y update


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