Bug 1544076

Summary: SELinux is preventing gnome-session-b from 'link' accesses on the file .ICEauthority-c.
Product: [Fedora] Fedora Reporter: Brian Little <winzig45>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dwalsh, lvrabec, mgrepl, plautrba, pmoore
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:c84d43d6c7aed2bf429acaae564b673780aadd6366fca1946e9b1c28e1a27668;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 12:53:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Little 2018-02-10 01:36:52 UTC
Description of problem:
Happened after a dnf upgrade last week
SELinux is preventing gnome-session-b from 'link' accesses on the file .ICEauthority-c.

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

If you believe that gnome-session-b should be allowed link access on the .ICEauthority-c 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 'gnome-session-b' --raw | audit2allow -M my-gnomesessionb
# semodule -X 300 -i my-gnomesessionb.pp

Additional Information:
Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:unlabeled_t:s0
Target Objects                .ICEauthority-c [ file ]
Source                        gnome-session-b
Source Path                   gnome-session-b
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-283.24.fc27.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.14.16-300.fc27.x86_64 #1 SMP Wed
                              Jan 31 19:24:27 UTC 2018 x86_64 x86_64
Alert Count                   2
First Seen                    2018-02-09 20:11:09 EST
Last Seen                     2018-02-09 20:21:34 EST
Local ID                      55a85784-af73-434c-afb4-f7cfc361bda4

Raw Audit Messages
type=AVC msg=audit(1518225694.952:301): avc:  denied  { link } for  pid=1469 comm="gnome-session-b" name=".ICEauthority-c" dev="sdb3" ino=3932682 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1


Hash: gnome-session-b,xdm_t,unlabeled_t,file,link

Version-Release number of selected component:
selinux-policy-3.13.1-283.24.fc27.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.3
hashmarkername: setroubleshoot
kernel:         4.14.16-300.fc27.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2018-03-06 12:53:56 UTC

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