Bug 836407 - SELinux is preventing /usr/lib/ICAClient/wfica from 'create' accesses on the directory .ICAClient.
Summary: SELinux is preventing /usr/lib/ICAClient/wfica from 'create' accesses on the ...
Keywords:
Status: CLOSED ERRATA
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:cc5d7892bad7d87c109f6c2ab0a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-29 00:55 UTC by Jerry Amundson
Modified: 2012-07-21 22:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-21 22:51:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jerry Amundson 2012-06-29 00:55:34 UTC
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

description:
: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.
: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: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 11:39:15 UTC
If you execute

# restorecon -R -v /home

Does it help?

Comment 2 Daniel Walsh 2012-07-11 18:17:05 UTC
Add

	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 08:08:26 UTC
Added.

Comment 4 Fedora Update System 2012-07-18 13:04:01 UTC
selinux-policy-3.10.0-140.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-140.fc17

Comment 5 Fedora Update System 2012-07-19 09:10:52 UTC
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:
https://admin.fedoraproject.org/updates/FEDORA-2012-10840/selinux-policy-3.10.0-140.fc17
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-07-21 22:51:11 UTC
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.