Bug 836407 - SELinux is preventing /usr/lib/ICAClient/wfica from 'create' accesses on the directory .ICAClient.
SELinux is preventing /usr/lib/ICAClient/wfica from 'create' accesses on the ...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
i686 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-28 20:55 EDT by Jerry Amundson
Modified: 2012-07-21 18:51 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-07-21 18:51:11 EDT
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 Jerry Amundson 2012-06-28 20:55:34 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.3-1.fc17.i686
time:           Thu 28 Jun 2012 07:54:52 PM CDT

:SELinux is preventing /usr/lib/ICAClient/wfica from 'create' accesses on the directory .ICAClient.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that wfica should be allowed create access on the .ICAClient directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
: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:user_home_dir_t:s0
:Target Objects                .ICAClient [ dir ]
:Source                        wfica
:Source Path                   /usr/lib/ICAClient/wfica
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-132.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.3-1.fc17.i686 #1 SMP Mon Jun 18
:                              20:52:37 UTC 2012 i686 i686
:Alert Count                   1
:First Seen                    Thu 28 Jun 2012 07:51:43 PM CDT
:Last Seen                     Thu 28 Jun 2012 07:51:43 PM CDT
:Local ID                      0ef6138b-d441-40c7-b780-f3996723ac0f
:Raw Audit Messages
:type=AVC msg=audit(1340931103.8:1498): avc:  denied  { create } for  pid=6115 comm="wfica" name=".ICAClient" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir
:type=SYSCALL msg=audit(1340931103.8:1498): arch=i386 syscall=mkdir per=400000 success=no exit=EACCES a0=bfdcf6a0 a1=1ff a2=81ee160 a3=bfdcf9a0 items=0 ppid=6113 pid=6115 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=165 comm=wfica exe=/usr/lib/ICAClient/wfica subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:Hash: wfica,mozilla_plugin_t,user_home_dir_t,dir,create
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
Comment 1 Miroslav Grepl 2012-07-11 07:39:15 EDT
If you execute

# restorecon -R -v /home

Does it help?
Comment 2 Daniel Walsh 2012-07-11 14:17:05 EDT

	userdom_user_home_dir_filetrans($1, mozilla_home_t, dir, ".ICAClient")

to mozilla_filetrans_home_content

Fix in F18.
Comment 3 Miroslav Grepl 2012-07-12 04:08:26 EDT
Comment 4 Fedora Update System 2012-07-18 09:04:01 EDT
selinux-policy-3.10.0-140.fc17 has been submitted as an update for Fedora 17.
Comment 5 Fedora Update System 2012-07-19 05:10:52 EDT
Package selinux-policy-3.10.0-140.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-140.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 6 Fedora Update System 2012-07-21 18:51:11 EDT
selinux-policy-3.10.0-140.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

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