Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1683013

Summary: SELinux is preventing gnome-session-c from 'map' accesses on the chr_file /dev/nvidiactl
Product: Red Hat Enterprise Linux 7 Reporter: Sandeep MJ <sjayapra>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact:
Priority: medium    
Version: 7.6CC: lvrabec, mmalik, omosnace, plautrba, ssekidde, vmojzis, zpytela
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-06 12:53:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandeep MJ 2019-02-26 05:35:36 UTC
Description of problem:

Please backport fixed selinux policy in Bug 1581790 to RHEL 7.6

SELinux is preventing gnome-session-c from 'map' accesses on the chr_file /dev/nvidiactl.

type=PROCTITLE msg=audit(xxx) : proctitle=/usr/bin/gnome-shell
type=PATH msg=audit(xxx) : item=0 name=/dev/nvidiactl inode=170050 dev=00:05 mode=character,666 ouid=root ogid=root rdev=c3:ff obj=system_u:object_r:device_t:s0 objtype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0
type=CWD msg=audit(xxx) : cwd=/var/lib/gdm
type=SYSCALL msg=audit(xxx) : arch=x86_64 syscall=open success=no exit=EACCES(Permission denied) a0=0x7ffd12190330 a1=O_RDWR a2=0x7ffd1219033e ae=0x7ffd1218fd60 items=1 ppid=15804 pid=15872 auid=unset uid=gdm gid=gdm euid=gdm suid=gdm gsuid=gdm egid=gdm sgid=gdm fsgid=gdm tty=(none) ses=unset comm=gnome-shell exe=/usr/bin/gnome-shell subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)
type=AVC msg=audit (xxx): avc: denied { read write } for pid=xxx comm="gnome-shell" name="nvidiactl" dev="devtmpfs" ino=170050 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=chr_file permissive=0

Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-229.el7_6.9.noarch

How reproducible:
Always

Comment 25 errata-xmlrpc 2019-08-06 12:53:24 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:2127