Bug 987600

Summary: SELinux is preventing systemd-tmpfile from 'relabelfrom' accesses on the chr_file fuse.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:882c39f5d91d6d485e4a90f222fa72154896966402390c26eb53f7fe4ebb52fc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 08:39:14 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 Nicolas Mailhot 2013-07-23 18:39:11 UTC
Description of problem:
SELinux is preventing systemd-tmpfile from 'relabelfrom' accesses on the chr_file fuse.

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

If vous pensez que systemd-tmpfile devrait être autorisé à accéder relabelfrom sur fuse chr_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.
Do
autoriser cet accès pour le moment en exécutant :
# grep systemd-tmpfile /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:systemd_tmpfiles_t:s0
Target Context                system_u:object_r:fuse_device_t:s0
Target Objects                fuse [ chr_file ]
Source                        systemd-tmpfile
Source Path                   systemd-tmpfile
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-66.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.11.0-0.rc0.git3.1.fc20.x86_64 #1
                              SMP Tue Jul 9 21:34:37 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-07-23 20:34:45 CEST
Last Seen                     2013-07-23 20:34:45 CEST
Local ID                      1fbfd190-d5fe-4e98-a66c-2ab3781f7884

Raw Audit Messages
type=AVC msg=audit(1374604485.339:61): avc:  denied  { relabelfrom } for  pid=574 comm="systemd-tmpfile" name="fuse" dev="devtmpfs" ino=9968 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:fuse_device_t:s0 tclass=chr_file


Hash: systemd-tmpfile,systemd_tmpfiles_t,fuse_device_t,chr_file,relabelfrom

Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.11.0-0.rc0.git3.1.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-07-24 08:39:14 UTC

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