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 1738608 - AVC denials with dlm-controld
Summary: AVC denials with dlm-controld
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 8.1
Assignee: Lukas Vrabec
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1649086
TreeView+ depends on / blocked
 
Reported: 2019-08-07 14:47 UTC by michal novacek
Modified: 2020-11-14 06:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 22:12:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3547 0 None None None 2019-11-05 22:12:19 UTC

Description michal novacek 2019-08-07 14:47:01 UTC
I got the following AVCs when running cluster regression test:

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
Memory protection checking:     actual (secure)
Max kernel policy version:      31
selinux-policy-3.14.3-13.el8.noarch
----
time->Wed Aug  7 14:51:28 2019
type=PROCTITLE msg=audit(1565182288.676:666): proctitle=646C6D5F636F6E74726F6C64002D730030
type=SYSCALL msg=audit(1565182288.676:666): arch=c000003e syscall=116 success=no exit=-1 a0=0 a1=0 a2=7fc6a3444740 a3=7fc6a4745900 items=0 ppid=9870 pid=9872 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dlm_controld" exe="/usr/sbin/dlm_controld" subj=system_u:system_r:dlm_controld_t:s0 key=(null)
type=AVC msg=audit(1565182288.676:666): avc:  denied  { setgid } for  pid=9872 comm="dlm_controld" capability=6  scontext=system_u:system_r:dlm_controld_t:s0 tcontext=system_u:system_r:dlm_controld_t:s0 tclass=capability permissive=0

Comment 1 Lukas Vrabec 2019-08-07 14:59:59 UTC
Fixes from Rawhide:
commit e563a8d1d64f11841d6e5f7cca6ecddbdb9a0123 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Wed Aug 7 16:59:14 2019 +0200

    Allow dlm_controld_t domain setgid capability

Comment 3 Lukas Vrabec 2019-08-08 16:39:44 UTC
commit 06f83227552f19b39696d7b648e0f508f83294b1 (HEAD -> rhel8.1-contrib)
Author: Lukas Vrabec <lvrabec>
Date:   Wed Aug 7 16:59:14 2019 +0200

    Allow dlm_controld_t domain setgid capability
    Resolves: rhbz#1738608

Comment 8 errata-xmlrpc 2019-11-05 22:12:10 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-2019:3547


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