Bug 819173 - SELinux is preventing /usr/bin/totem from 'write' accesses on the file /home/spider/.grl-metadata-store.
Summary: SELinux is preventing /usr/bin/totem from 'write' accesses on the file /home/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a375c26fd7ee26a92cb98b137d6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-05 10:47 UTC by D.S. Ljungmark
Modified: 2012-05-28 01:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-28 01:19:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description D.S. Ljungmark 2012-05-05 10:47:05 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.4-3.fc17.x86_64
time:           Sat 05 May 2012 12:46:44 PM CEST

description:
:SELinux is preventing /usr/bin/totem from 'write' accesses on the file /home/spider/.grl-metadata-store.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that totem should be allowed write access on the .grl-metadata-store 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 totem /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_t:s0
:Target Objects                /home/spider/.grl-metadata-store [ file ]
:Source                        totem
:Source Path                   /usr/bin/totem
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.0-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-118.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux Waves.darkmere 3.3.4-3.fc17.x86_64 #1 SMP
:                              Wed May 2 16:16:08 UTC 2012 x86_64 x86_64
:Alert Count                   3
:First Seen                    Sat 05 May 2012 12:35:56 PM CEST
:Last Seen                     Sat 05 May 2012 12:35:56 PM CEST
:Local ID                      bbb0407a-bae9-4161-bedb-d731d769a94a
:
:Raw Audit Messages
:type=AVC msg=audit(1336214156.550:228): avc:  denied  { write } for  pid=23488 comm="totem" name=".grl-metadata-store" dev="dm-2" ino=263345 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1336214156.550:228): arch=x86_64 syscall=open success=no exit=EACCES a0=1fc5b38 a1=42 a2=1a4 a3=18 items=0 ppid=1 pid=23488 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=5 comm=totem exe=/usr/bin/totem subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: totem,mozilla_plugin_t,user_home_t,file,write
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Daniel Walsh 2012-05-07 13:29:55 UTC
Fixed in selinux-policy-3.10.0-122.fc17

Comment 2 Fedora Update System 2012-05-09 15:17:16 UTC
selinux-policy-3.10.0-124.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-124.fc17

Comment 3 Fedora Update System 2012-05-17 22:57:25 UTC
Package selinux-policy-3.10.0-125.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-125.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-7953/selinux-policy-3.10.0-125.fc17
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-05-28 01:19:48 UTC
selinux-policy-3.10.0-125.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.