Bug 1001660

Summary: SELinux is preventing /usr/bin/nautilus from 'write' accesses on the directory net.
Product: [Fedora] Fedora Reporter: José Antonio <josian2200>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e2e8e00e411460f896d430c8aeda1c6cc162a01b4d28c558d8f8354ca76a744c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-28 12:45:43 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 José Antonio 2013-08-27 13:20:12 UTC
Description of problem:
SELinux is preventing /usr/bin/nautilus from 'write' accesses on the directory net.

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

If you believe that nautilus should be allowed write access on the net 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 pool /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Context                system_u:system_r:kernel_t:s0
Target Objects                net [ dir ]
Source                        pool
Source Path                   /usr/bin/nautilus
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nautilus-3.8.2-1.fc19.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-73.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.10.9-200.fc19.x86_64 #1 SMP Wed
                              Aug 21 19:27:58 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-08-27 14:10:56 WEST
Last Seen                     2013-08-27 14:10:56 WEST
Local ID                      89a60412-c8a3-441e-b889-cc26bd7b931a

Raw Audit Messages
type=AVC msg=audit(1377609056.809:554): avc:  denied  { write } for  pid=4073 comm="pool" name="net" dev="proc" ino=80482 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=dir


type=SYSCALL msg=audit(1377609056.809:554): arch=x86_64 syscall=access success=yes exit=0 a0=7f5954007de0 a1=2 a2=7f59540086d8 a3=fff00000 items=0 ppid=4023 pid=4073 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=1 tty=pts3 comm=pool exe=/usr/bin/nautilus subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)

Hash: pool,unconfined_t,kernel_t,dir,write

Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.9-200.fc19.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2013-08-28 12:45:43 UTC

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