Bug 1280360 - SELinux is preventing sogou-qimpanel from 'open' accesses on the file /home/aleaho/.config/fcitx/dbus/c934dd4750dc4c4f8b18ede0f7e8d179-0.
SELinux is preventing sogou-qimpanel from 'open' accesses on the file /home/a...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
low Severity low
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-11-11 09:50 EST by Aleaho Yang
Modified: 2015-11-20 06:19 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-11-20 06:19:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Aleaho Yang 2015-11-11 09:50:29 EST
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 报告。
# 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:

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 06:19:40 EST
It is a bug in sogou policy. Could you please open a new bug against a package which provides it.

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