Bug 871818 - SELinux is preventing /opt/Citrix/ICAClient/wfica from 'open' accesses on the file /opt/Citrix/ICAClient/keystore/cacerts/Equifax_Secure_Certificate_Authority_DER.cer.
Summary: SELinux is preventing /opt/Citrix/ICAClient/wfica from 'open' accesses on the...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:74bcc906185a151d759e5564471...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-31 13:19 UTC by Kevin Below
Modified: 2012-10-31 13:47 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-31 13:47:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-31 13:19 UTC, Kevin Below
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-31 13:19 UTC, Kevin Below
no flags Details

Description Kevin Below 2012-10-31 13:19:52 UTC
Description of problem:
Trying to run Citrix

Additional info:
libreport version: 2.0.16
kernel:         3.6.3-1.fc17.i686

description:
:SELinux is preventing /opt/Citrix/ICAClient/wfica from 'open' accesses on the file /opt/Citrix/ICAClient/keystore/cacerts/Equifax_Secure_Certificate_Authority_DER.cer.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/opt/Citrix/ICAClient/keystore/cacerts/Equifax_Secure_Certificate_Authority_DER.cer default label should be usr_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /opt/Citrix/ICAClient/keystore/cacerts/Equifax_Secure_Certificate_Authority_DER.cer
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that wfica should be allowed open access on the Equifax_Secure_Certificate_Authority_DER.cer 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 wfica /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:admin_home_t:s0
:Target Objects                /opt/Citrix/ICAClient/keystore/cacerts/Equifax_Sec
:                              ure_Certificate_Authority_DER.cer [ file ]
:Source                        wfica
:Source Path                   /opt/Citrix/ICAClient/wfica
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           ICAClient-12.1.0-0.i386
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.3-1.fc17.i686 #1 SMP Mon Oct
:                              22 16:10:29 UTC 2012 i686 i686
:Alert Count                   11
:First Seen                    2012-10-31 09:09:17 EDT
:Last Seen                     2012-10-31 09:14:28 EDT
:Local ID                      5a70a4d2-d440-4c81-88c9-f940dc3421e1
:
:Raw Audit Messages
:type=AVC msg=audit(1351689268.14:95): avc:  denied  { open } for  pid=2139 comm="wfica" path="/opt/Citrix/ICAClient/keystore/cacerts/Equifax_Secure_Certificate_Authority_DER.cer" dev="dm-1" ino=3177 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1351689268.14:95): arch=i386 syscall=open per=400000 success=no exit=EACCES a0=b6521d58 a1=0 a2=1b6 a3=b6522f50 items=0 ppid=1870 pid=2139 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=wfica exe=/opt/Citrix/ICAClient/wfica subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: wfica,mozilla_plugin_t,admin_home_t,file,open
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t admin_home_t:file open;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t admin_home_t:file open;
:

Comment 1 Kevin Below 2012-10-31 13:19:55 UTC
Created attachment 636128 [details]
File: type

Comment 2 Kevin Below 2012-10-31 13:19:57 UTC
Created attachment 636129 [details]
File: hashmarkername

Comment 3 Daniel Walsh 2012-10-31 13:47:28 UTC
This is a mislabeled file and the alert told you what to do.


restorecon -R -v /opt

You basically have a file that someone mv'd from /root to /opt and then never relabeled.


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