[node-patches] Change in ovirt-node[master]: semodule: Add rule for usermod
fabiand at redhat.com
fabiand at redhat.com
Tue Jun 23 13:59:26 UTC 2015
Fabian Deutsch has submitted this change and it was merged.
Change subject: semodule: Add rule for usermod
......................................................................
semodule: Add rule for usermod
Avoid the below error when trying to use: usermod -P <crypted pass> root
type=AVC msg=audit(1434823030.774:2151): avc: denied { link } for pid=24032 comm="usermod" name="passwd.24032"
dev="tmpfs" ino=318504 scontext=system_u:system_r:useradd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
type=SYSCALL msg=audit(1434823030.774:2151): arch=c000003e syscall=86 success=yes exit=0 a0=7fff86841380 a1=7fff86841780
a2=6 a3=0 items=0 ppid=24014 pid=24032 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0
tty=(none) ses=4294967295 comm="usermod" exe="/usr/sbin/usermod" subj=system_u:system_r:useradd_t:s0 key=(null)
type=AVC msg=audit(1434823030.774:2152): avc: denied { getattr } for pid=24032 comm="usermod"
path="/etc/passwd.24032" dev="tmpfs" ino=318504 scontext=system_u:system_r:useradd_t:s0
tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
type=SYSCALL msg=audit(1434823030.774:2152): arch=c000003e syscall=4 success=yes exit=0 a0=7fff86841380 a1=7fff86841290
a2=7fff86841290 a3=0 items=0 ppid=24014 pid=24032 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0
fsgid=0 tty=(none) ses=4294967295 comm="usermod" exe="/usr/sbin/usermod" subj=system_u:system_r:useradd_t:s0 key=(null)
type=AVC msg=audit(1434823030.774:2153): avc: denied { remove_name } for pid=24032 comm="usermod" name="passwd.24032"
dev="tmpfs" ino=318504 scontext=system_u:system_r:useradd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
type=AVC msg=audit(1434823030.774:2153): avc: denied { unlink } for pid=24032 comm="usermod" name="passwd.24032"
dev="tmpfs" ino=318504 scontext=system_u:system_r:useradd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=file
Change-Id: Ib97e606659a5b0ef22e224270bc3ecabd93c1d97
Signed-off-by: Douglas Schilling Landgraf <dougsland at redhat.com>
---
M semodule/ovirt.te.in
1 file changed, 8 insertions(+), 0 deletions(-)
Approvals:
Fabian Deutsch: Verified; Looks good to me, approved
Douglas Schilling Landgraf: Verified
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/42591
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib97e606659a5b0ef22e224270bc3ecabd93c1d97
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Douglas Schilling Landgraf <dougsland at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: automation at ovirt.org
More information about the node-patches
mailing list