Bug 1318097 - SELinux is preventing firewalld from 'create' accesses on the directory firewalld.
Summary: SELinux is preventing firewalld from 'create' accesses on the directory firew...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7fc39c7957258acddfb511775ab...
: 1318420 1331999 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-16 04:12 UTC by shawn.bourgeois.p
Modified: 2016-05-28 15:10 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-16 09:26:51 UTC
Type: ---


Attachments (Terms of Use)
File: screencast.ogv (64.00 KB, application/octet-stream)
2016-03-16 04:12 UTC, shawn.bourgeois.p
no flags Details

Description shawn.bourgeois.p 2016-03-16 04:12:06 UTC
Description of problem:
SELinux is preventing firewalld from 'create' accesses on the directory firewalld.

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

If you believe that firewalld should be allowed create access on the firewalld directory 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:
# grep firewalld /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:firewalld_t:s0
Target Context                system_u:object_r:var_run_t:s0
Target Objects                firewalld [ dir ]
Source                        firewalld
Source Path                   firewalld
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.2.3-300.fc23.x86_64+debug #1 SMP
                              Mon Oct 5 15:23:14 UTC 2015 x86_64 x86_64
Alert Count                   6
First Seen                    2016-03-15 22:32:07 EDT
Last Seen                     2016-03-15 23:57:02 EDT
Local ID                      f5d30e6d-d305-4ca1-a0ad-bae7bdcd2cc7

Raw Audit Messages
type=AVC msg=audit(1458100622.306:448): avc:  denied  { create } for  pid=8525 comm="firewalld" name="firewalld" scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=dir permissive=0


Hash: firewalld,firewalld_t,var_run_t,dir,create

Version-Release number of selected component:
selinux-policy-3.13.1-152.fc23.noarch

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.3-300.fc23.x86_64+debug
type:           libreport

Comment 1 shawn.bourgeois.p 2016-03-16 04:12:10 UTC
Created attachment 1136838 [details]
File: screencast.ogv

Comment 2 Lukas Vrabec 2016-03-16 09:26:51 UTC
Hi,
Could you update your selinux-policy rpm package and try to reproduce this issue? It should be fixed in latest selinux-policy version for F23


$ rpm -q selinux-policy
selinux-policy-3.13.1-158.9.fc23.noarch

$ sesearch -T -s firewalld_t  -t var_run_t
Found 2 semantic te rules:
   type_transition firewalld_t var_run_t : dir firewalld_var_run_t; 
   type_transition firewalld_t var_run_t : file firewalld_var_run_t;

Comment 3 Zero 2016-03-16 19:56:46 UTC
*** Bug 1318420 has been marked as a duplicate of this bug. ***

Comment 4 Michele Cereda 2016-04-04 08:48:52 UTC
Description of problem:
The problem arose during normal usage after login, just after the installation of the DE

Version-Release number of selected component:
selinux-policy-3.13.1-152.fc23.noarch

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.4.6-300.fc23.x86_64
type:           libreport

Comment 5 Wellington 2016-05-01 02:00:11 UTC
*** Bug 1331999 has been marked as a duplicate of this bug. ***

Comment 6 daniele italiani 2016-05-28 08:56:14 UTC
Description of problem:
yesterday i tryed some gnome shell using the documentation on doc.fedoraonline.it . i installed cinnamon. while the pc is running an allarm appears on the screen.

Version-Release number of selected component:
selinux-policy-3.13.1-152.fc23.noarch

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.3-300.fc23.x86_64+debug
type:           libreport


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