Bug 1478271 - SELinux is preventing gnome-directory from 'getattr' accesses on the sock_file /root/.cache/.lxterminal-socket-:0.0.
SELinux is preventing gnome-directory from 'getattr' accesses on the sock_fil...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-08-04 03:10 EDT by MIGAUD Abdi
Modified: 2017-08-04 03:10 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description MIGAUD Abdi 2017-08-04 03:10:31 EDT
Description of problem:
SELinux is preventing gnome-directory from 'getattr' accesses on the sock_file /root/.cache/.lxterminal-socket-:0.0.

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

If vous pensez que gnome-directory devrait être autorisé à accéder getattr sur .lxterminal-socket-:0.0 sock_file par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
allow this access for now by executing:
# ausearch -c 'gnome-directory' --raw | audit2allow -M my-gnomedirectory
# semodule -X 300 -i my-gnomedirectory.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:admin_home_t:s0
Target Objects                /root/.cache/.lxterminal-socket-:0.0 [ sock_file ]
Source                        gnome-directory
Source Path                   gnome-directory
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.3.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.11-300.fc26.x86_64 #1 SMP Mon
                              Jul 17 16:32:11 UTC 2017 x86_64 x86_64
Alert Count                   2
First Seen                    2017-08-04 08:47:07 CEST
Last Seen                     2017-08-04 08:47:07 CEST
Local ID                      e3e337f4-c57c-43b3-a176-8721e3d69287

Raw Audit Messages
type=AVC msg=audit(1501829227.508:345): avc:  denied  { getattr } for  pid=18843 comm="gnome-directory" path="/root/.cache/.lxterminal-socket-:0.0" dev="dm-2" ino=1315932 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=sock_file permissive=0

Hash: gnome-directory,thumb_t,admin_home_t,sock_file,getattr

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.11-300.fc26.x86_64
type:           libreport

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