Bug 967162 - SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'add_name' accesses on the directory workout_5825582.FIT.tmp.
SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'add_name' a...
Status: CLOSED DUPLICATE of bug 967161
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-05-25 00:40 EDT by HaJo Schatz
Modified: 2013-05-27 06:02 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-27 06:02:27 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 HaJo Schatz 2013-05-25 00:40:43 EDT
Description of problem:
Uploading fitness data from connect.garmin.com to connected Garmin Edge
SELinux is preventing /usr/lib64/xulrunner/plugin-container from 'add_name' accesses on the directory workout_5825582.FIT.tmp.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that plugin-container should be allowed add_name access on the workout_5825582.FIT.tmp 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 plugin-containe /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
Target Context                system_u:object_r:dosfs_t:s0
Target Objects                workout_5825582.FIT.tmp [ dir ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-20.0-1.fc17.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-169.fc17.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.12-100.fc17.x86_64 #1 SMP Wed
                              May 8 15:36:14 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-05-25 13:38:48 KST
Last Seen                     2013-05-25 13:38:48 KST
Local ID                      7f6b3c0e-382d-44b5-b8a9-ffb0d48c227e

Raw Audit Messages
type=AVC msg=audit(1369456728.843:111): avc:  denied  { add_name } for  pid=2334 comm="plugin-containe" name="workout_5825582.FIT.tmp" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dosfs_t:s0 tclass=dir

type=SYSCALL msg=audit(1369456728.843:111): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd41ee1e198 a1=241 a2=1b6 a3=7fd41eecb001 items=0 ppid=2265 pid=2334 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=plugin-containe exe=/usr/lib64/xulrunner/plugin-container subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-containe,mozilla_plugin_t,dosfs_t,dir,add_name


#============= mozilla_plugin_t ==============
allow mozilla_plugin_t dosfs_t:dir add_name;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t dosfs_t:dir add_name;

Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.12-100.fc17.x86_64
type:           libreport
Comment 1 Miroslav Grepl 2013-05-27 06:02:27 EDT

*** This bug has been marked as a duplicate of bug 967161 ***

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