Bug 1374318

Summary: SELinux is preventing wget from 'create' accesses on the file 1.
Product: [Fedora] Fedora Reporter: tcosenza
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3b6af7330201b3bfd2b8efa50998dd7bb89ff35baf43b941259c06d92800da64;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-08 19:48:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description tcosenza 2016-09-08 12:39:50 UTC
Description of problem:
SELinux is preventing wget from 'create' accesses on the file 1.

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

If you believe that wget should be allowed create access on the 1 file 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:
# ausearch -c 'wget' --raw | audit2allow -M my-wget
# semodule -X 300 -i my-wget.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                unconfined_u:object_r:unconfined_t:s0
Target Objects                1 [ file ]
Source                        wget
Source Path                   wget
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-158.21.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.7.2-101.fc23.x86_64 #1 SMP Fri
                              Aug 26 15:59:00 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-09-08 08:35:27 EDT
Last Seen                     2016-09-08 08:35:27 EDT
Local ID                      2915ac76-cb2d-4366-b498-bacc0a5fc2dc

Raw Audit Messages
type=AVC msg=audit(1473338127.676:235): avc:  denied  { create } for  pid=2059 comm="wget" name="1" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unconfined_t:s0 tclass=file permissive=0


Hash: wget,unconfined_t,unconfined_t,file,create

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

Additional info:
reporter:       libreport-2.6.4
hashmarkername: setroubleshoot
kernel:         4.7.2-101.fc23.x86_64
type:           libreport

Potential duplicate: bug 1370475

Comment 1 Daniel Walsh 2016-09-08 19:48:13 UTC

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