Bug 1374318 - SELinux is preventing wget from 'create' accesses on the file 1.
Summary: SELinux is preventing wget from 'create' accesses on the file 1.
Keywords:
Status: CLOSED DUPLICATE of bug 1345836
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:3b6af7330201b3bfd2b8efa5099...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 12:39 UTC by tcosenza
Modified: 2016-09-08 19:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-08 19:48:13 UTC
Type: ---


Attachments (Terms of Use)

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 ***


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