RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1492137 - AVC denials with SBD in cluster
Summary: AVC denials with SBD in cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.4
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-15 14:58 UTC by michal novacek
Modified: 2018-10-30 10:02 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:01:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:3111 0 None None None 2018-10-30 10:02:38 UTC

Description michal novacek 2017-09-15 14:58:16 UTC
Info: Searching AVC errors produced since 1505471652.42 (Fri Sep 15 12:34:12 2017)
Searching logs...
Running '/usr/bin/env LC_ALL=en_US.UTF-8 /sbin/ausearch -m AVC -m USER_AVC -m SELINUX_ERR -ts 09/15/2017 12:34:12 < /dev/null >/mnt/testarea/tmp.rhts-db-submit-result.ucVPp_ 2>&1'
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.270:127): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.270:127): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2ca1015 a2=0 a3=7fffee0bff50 items=0 ppid=1251 pid=1254 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(1505471680.270:127): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.271:128): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.271:128): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2ca0015 a2=0 a3=7fffee0c0030 items=0 ppid=1251 pid=1254 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(1505471680.271:128): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.271:129): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.271:129): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2c9e015 a2=0 a3=7fffee0c0030 items=0 ppid=1251 pid=1254 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(1505471680.271:129): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.271:130): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.271:130): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2c9d015 a2=0 a3=0 items=0 ppid=1251 pid=1254 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(1505471680.271:130): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.271:131): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.271:131): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2c9b015 a2=0 a3=0 items=0 ppid=1251 pid=1254 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(1505471680.271:131): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
----
time->Fri Sep 15 12:34:40 2017
type=PROCTITLE msg=audit(1505471680.271:132): proctitle=7362643A20776174636865723A20506163656D616B6572
type=SYSCALL msg=audit(1505471680.271:132): arch=c000003e syscall=263 success=no exit=-13 a0=4 a1=7ff8d2c9a015 a2=0 a3=0 items=0 ppid=1251 pid=1254 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(1505471680.271:132): avc:  denied  { write } for  pid=1254 comm="sbd" name="/" dev="tmpfs" ino=6788 scontext=system_u:system_r:sbd_t:s0 tcontext=system_u:object_r:tmpfs_t:s0 tclass=dir
Fail: AVC messages found.


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-166.el7_4.4.noarch

Comment 2 Milos Malik 2017-09-15 17:07:38 UTC
Could you run following command first and then re-run your test cases?

# semanage permissive -a sbd_t

There should be more SELinux denials logged as a result.

Comment 7 errata-xmlrpc 2018-10-30 10:01:27 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3111


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