Bug 978078

Summary: SELinux is preventing /usr/bin/flareget from 'write' accesses on the file .flareget-lang.
Product: [Fedora] Fedora Reporter: dimitrifellous <dimitri.fellous>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dimitri.fellous, dominick.grift, dwalsh, lvrabec, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4f8beffabaaf12fb625e4e6ef56a000202972e9b6e1ab3239ac2578d18daea6f
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-25 13:18:26 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 dimitrifellous 2013-06-25 23:51:05 UTC
Description of problem:
Hi!

Thanks for your help!

Dimitri

SELinux is preventing /usr/bin/flareget from 'write' accesses on the file .flareget-lang.

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

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

Additional Information:
Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                .flareget-lang [ file ]
Source                        flareget
Source Path                   /usr/bin/flareget
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           flareget-1.4-9.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-66.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.6.10-4.fc18.x86_64 #1 SMP Tue
                              Dec 11 18:01:27 UTC 2012 x86_64 x86_64
Alert Count                   45
First Seen                    2013-06-26 01:13:37 CEST
Last Seen                     2013-06-26 01:42:20 CEST
Local ID                      b89dcbf2-cfc0-4be6-b633-4f9c4faf801d

Raw Audit Messages
type=AVC msg=audit(1372203740.192:1155): avc:  denied  { write } for  pid=4199 comm="flareget" name=".flareget-lang" dev="dm-2" ino=3932395 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file


type=SYSCALL msg=audit(1372203740.192:1155): arch=x86_64 syscall=open success=no exit=EACCES a0=3175bc8 a1=80241 a2=1b6 a3=2 items=0 ppid=1 pid=4199 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=flareget exe=/usr/bin/flareget subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: flareget,mozilla_plugin_t,user_home_t,file,write

audit2allow
audit2allow -R

Additional info:
hashmarkername: setroubleshoot
kernel:         3.6.10-4.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-06-26 15:09:48 UTC
Where is .flareget-lang exactly located? Where does it come from?

Comment 2 Red Hat Bugzilla 2023-09-14 01:47:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days