[node-patches] Change in ovirt-node[master]: semodule: Add gettattr to syslogd_t tmpfs_t

dougsland at redhat.com dougsland at redhat.com
Fri May 22 20:23:26 UTC 2015


Douglas Schilling Landgraf has uploaded a new change for review.

Change subject: semodule: Add gettattr to syslogd_t tmpfs_t
......................................................................

semodule: Add gettattr to syslogd_t tmpfs_t

Avoid the below AVC:
type=AVC msg=audit(1432255421.942:47): avc:  denied  { getattr } for
pid=1920 comm="rsyslogd" path="/etc/resolv.conf" dev="tmpfs"
ino=430254 scontext=system_u:system_r:syslogd_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file

Change-Id: I9bcec6bda75c593fd32adcf9140c30b4445d0338
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M semodule/ovirt.te.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/63/41363/1

diff --git a/semodule/ovirt.te.in b/semodule/ovirt.te.in
index 4fe6016..afa1655 100644
--- a/semodule/ovirt.te.in
+++ b/semodule/ovirt.te.in
@@ -253,7 +253,7 @@
 
 #============= syslogd_t ==============
 allow syslogd_t var_lib_t:file { write getattr open };
-allow syslogd_t tmpfs_t:file { read open };
+allow syslogd_t tmpfs_t:file { read getattr open };
 
 
 #============= sysstat_t ==============


-- 
To view, visit https://gerrit.ovirt.org/41363
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9bcec6bda75c593fd32adcf9140c30b4445d0338
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>



More information about the node-patches mailing list