Bug 1086048 - firewalld - denied write
Summary: firewalld - denied write
Keywords:
Status: CLOSED DUPLICATE of bug 1084829
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-10 02:23 UTC by poma
Modified: 2014-04-10 08:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-10 08:30:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description poma 2014-04-10 02:23:44 UTC
# ausearch -m avc -c firewalld --just-one
----
time->Wed Apr  9 13:19:27 2014
type=SYSCALL msg=audit(1397042367.563:546): arch=c000003e syscall=2 success=no exit=-13 a0=1a7f560 a1=241 a2=1b6 a3=0 items=0 ppid=1 pid=1307 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm="firewalld" exe="/usr/bin/python2.7" subj=system_u:system_r:firewalld_t:s0 key=(null)
type=AVC msg=audit(1397042367.563:546): avc:  denied  { write } for  pid=1307 comm="firewalld" name="ip_forward" dev="proc" ino=9273 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:proc_t:s0 tclass=file

Comment 1 poma 2014-04-10 02:26:00 UTC
# cat firewalld-ip_forward-mypol.te 

module firewalld-ip_forward-mypol 1.0;

require {
	type firewalld_t;
	type proc_t;
	class file write;
}

#============= firewalld_t ==============
allow firewalld_t proc_t:file write;

Comment 2 Miroslav Grepl 2014-04-10 08:30:33 UTC

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


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