Bug 1280360

Summary: SELinux is preventing sogou-qimpanel from 'open' accesses on the file /home/aleaho/.config/fcitx/dbus/c934dd4750dc4c4f8b18ede0f7e8d179-0.
Product: [Fedora] Fedora Reporter: Aleaho Yang <376856746>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 23CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:2472fba7b820b896d6bd92edbc8ee01763f8b00c476e472c0aa8468beddeb1f0;VARIANT_ID=workstation;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-20 11:19:40 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 Aleaho Yang 2015-11-11 14:50:29 UTC
Description of problem:
I use fedora 23 workstation and the input method is sogoupinyin that's a chinese input method. I got it from  http://repo.fdzh.org/.  The SELinux allways show the warn When I called input method. The sogoupinyin is very well in fedora 22 workstaion.
SELinux is preventing sogou-qimpanel from 'open' accesses on the file /home/aleaho/.config/fcitx/dbus/c934dd4750dc4c4f8b18ede0f7e8d179-0.

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

If 您确定应默认允许 sogou-qimpanel open 访问 c934dd4750dc4c4f8b18ede0f7e8d179-0 file。
Then 您应该将这个情况作为 bug 报告。
您可以生成本地策略模块允许这个访问。
Do
请执行以下命令此时允许这个访问:
# grep sogou-qimpanel /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sogou_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:config_home_t:s0
Target Objects                /home/aleaho/.config/fcitx/dbus/c934dd4750dc4c4f8b
                              18ede0f7e8d179-0 [ file ]
Source                        sogou-qimpanel
Source Path                   sogou-qimpanel
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-152.fc23.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.2.5-300.fc23.x86_64 #1 SMP Tue
                              Oct 27 04:29:56 UTC 2015 x86_64 x86_64
Alert Count                   3
First Seen                    2015-11-11 22:19:04 CST
Last Seen                     2015-11-11 22:24:47 CST
Local ID                      1aa89651-f733-4f60-8490-cd4b28896fba

Raw Audit Messages
type=AVC msg=audit(1447251887.936:3016): avc:  denied  { open } for  pid=32704 comm="sogou-qimpanel" path="/home/aleaho/.config/fcitx/dbus/c934dd4750dc4c4f8b18ede0f7e8d179-0" dev="sda9" ino=788659 scontext=unconfined_u:unconfined_r:sogou_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:config_home_t:s0 tclass=file permissive=1


Hash: sogou-qimpanel,sogou_t,config_home_t,file,open

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

Additional info:
reporter:       libreport-2.6.3
hashmarkername: setroubleshoot
kernel:         4.2.5-300.fc23.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-11-20 11:19:40 UTC
It is a bug in sogou policy. Could you please open a new bug against a package which provides it.