Bug 1461996 - SELinux is preventing tumblerd from 'getattr' accesses on the chr_file /dev/fuse.
SELinux is preventing tumblerd from 'getattr' accesses on the chr_file /dev/f...
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-06-15 17:16 EDT by Heiko Adams
Modified: 2017-06-15 17:16 EDT (History)
7 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 Heiko Adams 2017-06-15 17:16:32 EDT
Description of problem:
SELinux is preventing tumblerd from 'getattr' accesses on the chr_file /dev/fuse.

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

If sie denken, dass es tumblerd standardmäßig erlaubt sein sollte, getattr Zugriff auf fuse chr_file zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
allow this access for now by executing:
# ausearch -c 'tumblerd' --raw | audit2allow -M my-tumblerd
# semodule -X 300 -i my-tumblerd.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:fuse_device_t:s0
Target Objects                /dev/fuse [ chr_file ]
Source                        tumblerd
Source Path                   tumblerd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    <Unknown>
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.4-300.fc26.x86_64 #1 SMP Wed
                              Jun 7 18:07:41 UTC 2017 x86_64 x86_64
Alert Count                   1
First Seen                    2017-06-15 23:13:57 CEST
Last Seen                     2017-06-15 23:13:57 CEST
Local ID                      ea7ef8bb-c76d-40d9-a019-1bb51115d076

Raw Audit Messages
type=AVC msg=audit(1497561237.888:256): avc:  denied  { getattr } for  pid=1926 comm="tumblerd" path="/dev/fuse" dev="devtmpfs" ino=616 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fuse_device_t:s0 tclass=chr_file permissive=0

Hash: tumblerd,thumb_t,fuse_device_t,chr_file,getattr

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

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