Bug 1388444 - AVC denials when running sbd tests
Summary: AVC denials when running sbd tests
Keywords:
Status: CLOSED DUPLICATE of bug 1380795
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.3
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-25 11:36 UTC by michal novacek
Modified: 2017-09-15 17:36 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-14 14:07:42 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description michal novacek 2016-10-25 11:36:24 UTC
Info: Searching AVC errors produced since 1477326209.98 (Mon Oct 24 18:23:29 2016)
Searching logs...
Running '/usr/bin/env LC_ALL=en_US.UTF-8 /sbin/ausearch -m AVC -m USER_AVC -m SELINUX_ERR -ts 10/24/2016 18:23:29 < /dev/null >/mnt/testarea/tmp.rhts-db-submit-result.wsRJmx 2>&1'
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.349:536): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0e00c a1=7ffc81c56690 a2=0 a3=7ffc81c56780 items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.349:536): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.350:537): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0d00c a1=7ffc81c566a0 a2=14e35c59 a3=7f0412778c8c items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.350:537): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.350:538): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0b00c a1=7ffc81c56690 a2=0 a3=7ffc81c56780 items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.350:538): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.350:539): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0a00c a1=7ffc81c566a0 a2=14e35c59 a3=7f0412778c8c items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.350:539): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.351:540): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0800c a1=7ffc81c566a0 a2=0 a3=7f0412778c8c items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.351:540): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Mon Oct 24 18:36:17 2016
type=SYSCALL msg=audit(1477326977.351:541): arch=c000003e syscall=87 success=no exit=-13 a0=7f0413e0700c a1=7ffc81c566b0 a2=14f29e9a a3=7f0412778c8c items=0 ppid=28553 pid=28555 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sbd" exe="/usr/sbin/sbd" subj=system_u:system_r:sbd_t:s0 key=(null)
type=AVC msg=audit(1477326977.351:541): avc:  denied  { write } for  pid=28555 comm="sbd" name="/" dev="tmpfs" ino=6581 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
Fail: AVC messages found.
Checking for errors...
Using stronger AVC checks.
	Define empty RHTS_OPTION_STRONGER_AVC parameter if this causes any problems.
Running 'cat /mnt/testarea/tmp.rhts-db-submit-result.wsRJmx | /sbin/ausearch -m AVC -m SELINUX_ERR'
Fail: AVC messages found.
Running 'cat %s | /sbin/ausearch -m USER_AVC >/mnt/testarea/tmp.rhts-db-submit-result.8NYUj7 2>&1'
Info: No AVC messages found.
/bin/grep 'avc: ' /mnt/testarea/dmesg.log | /bin/grep --invert-match TESTOUT.log
No AVC messages found in dmesg
Running '/usr/sbin/sestatus'
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Max kernel policy version:      28
Running 'rpm -q selinux-policy || true'
selinux-policy-3.13.1-102.el7.noarch

Comment 1 Milos Malik 2016-10-25 11:54:41 UTC
I believe this bug is a duplicate of BZ#1380795.

Comment 4 Lukas Vrabec 2016-11-14 14:07:42 UTC

*** This bug has been marked as a duplicate of bug 1380795 ***


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