Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1954086 - SELinux is preventing gdm-session-wor from 'read' accesses on the file custom.conf.
Summary: SELinux is preventing gdm-session-wor from 'read' accesses on the file custom...
Keywords:
Status: CLOSED DUPLICATE of bug 1944694
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:344324a481074e2c5de0ec7a97f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-27 15:04 UTC by Chris Sharp
Modified: 2021-04-27 15:42 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-27 15:42:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chris Sharp 2021-04-27 15:04:52 UTC
Description of problem:
SELinux is preventing gdm-session-wor from 'read' accesses on the file custom.conf.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that gdm-session-wor should be allowed read access on the custom.conf file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'gdm-session-wor' --raw | audit2allow -M my-gdmsessionwor
# semodule -X 300 -i my-gdmsessionwor.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:var_run_t:s0
Target Objects                custom.conf [ file ]
Source                        gdm-session-wor
Source Path                   gdm-session-wor
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-34.3-1.fc34.noarch
Local Policy RPM              selinux-policy-targeted-34.3-1.fc34.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.11.15-300.fc34.x86_64 #1 SMP Fri
                              Apr 16 13:41:48 UTC 2021 x86_64 x86_64
Alert Count                   1
First Seen                    2021-04-27 11:01:01 EDT
Last Seen                     2021-04-27 11:01:01 EDT
Local ID                      151ff7ac-f809-47fc-a5b6-d7314b9e5a82

Raw Audit Messages
type=AVC msg=audit(1619535661.885:888): avc:  denied  { read } for  pid=9735 comm="gdm-session-wor" name="custom.conf" dev="tmpfs" ino=1444 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=file permissive=0


Hash: gdm-session-wor,xdm_t,var_run_t,file,read

Version-Release number of selected component:
selinux-policy-targeted-34.3-1.fc34.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.14.0
hashmarkername: setroubleshoot
kernel:         5.11.15-300.fc34.x86_64
type:           libreport

Potential duplicate: bug 753438

Comment 1 Zdenek Pytela 2021-04-27 15:42:53 UTC

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


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