Bug 871096 - SELinux is preventing /usr/bin/ln from 'create' accesses on the lnk_file xdg-screensaver-mircea--0.lock.
Summary: SELinux is preventing /usr/bin/ln from 'create' accesses on the lnk_file xdg-...
Keywords:
Status: CLOSED WONTFIX
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:7daeca03f59c2454032a88e0a7e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-29 15:40 UTC by Mircea Sava
Modified: 2013-08-01 20:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-01 20:08:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-10-29 15:40 UTC, Mircea Sava
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-10-29 15:40 UTC, Mircea Sava
no flags Details

Description Mircea Sava 2012-10-29 15:40:34 UTC
Additional info:
libreport version: 2.0.16
kernel:         3.6.2-4.fc17.i686

description:
:SELinux is preventing /usr/bin/ln from 'create' accesses on the lnk_file xdg-screensaver-mircea--0.lock.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ln should be allowed create access on the xdg-screensaver-mircea--0.lock lnk_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 ln /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:tmp_t:s0
:Target Objects                xdg-screensaver-mircea--0.lock [ lnk_file ]
:Source                        ln
:Source Path                   /usr/bin/ln
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           coreutils-8.15-7.fc17.i686
: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.2-4.fc17.i686 #1 SMP Wed Oct
:                              17 03:22:23 UTC 2012 i686 i686
:Alert Count                   16242
:First Seen                    2012-10-29 15:12:22 EET
:Last Seen                     2012-10-29 17:37:07 EET
:Local ID                      b126bd04-d38c-4c2e-b457-9e566c36c920
:
:Raw Audit Messages
:type=AVC msg=audit(1351525027.232:16456): avc:  denied  { create } for  pid=7973 comm="ln" name="xdg-screensaver-mircea--0.lock" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:tmp_t:s0 tclass=lnk_file
:
:
:type=SYSCALL msg=audit(1351525027.232:16456): arch=i386 syscall=symlink success=no exit=EACCES a0=bfbc33aa a1=bfbc33ce a2=8053ff4 a3=bfbc33ce items=0 ppid=3363 pid=7973 auid=17841 uid=17841 gid=17841 euid=17841 suid=17841 fsuid=17841 egid=17841 sgid=17841 fsgid=17841 tty=(none) ses=1 comm=ln exe=/usr/bin/ln subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: ln,mozilla_plugin_t,tmp_t,lnk_file,create
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmp_t:lnk_file create;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t tmp_t:lnk_file create;
:

Comment 1 Mircea Sava 2012-10-29 15:40:39 UTC
Created attachment 635067 [details]
File: type

Comment 2 Mircea Sava 2012-10-29 15:40:43 UTC
Created attachment 635068 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-10-29 18:24:48 UTC
Do you know which plugin causes this? Do you have mozplugger installed?

Comment 4 Mircea Sava 2012-10-30 09:52:36 UTC
Both mozplugger and nspluginwrapper are uninstalled.
If I remember well, I think the issue arose after I tried to play a flash video in rekonq.
I have installed lightspark-mozilla-plugin and npapi-vlc though I have no clue as to which of them caused this.

Comment 5 Daniel Walsh 2012-10-30 10:46:13 UTC
We are just missing the transition rule on lnk_file

4f8f33023f47ab4cba2f0f6872e36027ef2b66b7

Comment 6 Fedora End Of Life 2013-07-04 06:18:00 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Fedora Update System 2013-07-15 20:32:28 UTC
selinux-policy-3.10.0-171.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-171.fc17

Comment 8 Fedora Update System 2013-07-17 03:06:33 UTC
Package selinux-policy-3.10.0-171.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-171.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13082/selinux-policy-3.10.0-171.fc17
then log in and leave karma (feedback).

Comment 9 Fedora End Of Life 2013-08-01 20:08:12 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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