Bug 659225 - SELinux is preventing /usr/libexec/totem-plugin-viewer from 'getattr' accesses on the filesystem /.
Summary: SELinux is preventing /usr/libexec/totem-plugin-viewer from 'getattr' accesse...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ca7a372343f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-02 08:48 UTC by Matěj Cepl
Modified: 2018-04-11 14:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-02 11:21:16 UTC
Type: ---


Attachments (Terms of Use)

Description Matěj Cepl 2010-12-02 08:48:20 UTC
SELinux is preventing /usr/libexec/totem-plugin-viewer from 'getattr' accesses on the filesystem /.

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

If you believe that totem-plugin-viewer should be allowed getattr access on the  filesystem 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 /usr/libexec/totem-plugin-viewer /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                system_u:object_r:fs_t:s0
Target Objects                / [ filesystem ]
Source                        totem-plugin-vi
Source Path                   /usr/libexec/totem-plugin-viewer
Port                          <Neznámé>
Host                          (removed)
Source RPM Packages           totem-mozplugin-2.91.0-3.fc15
Target RPM Packages           filesystem-2.4.36-1.fc15
Policy RPM                    selinux-policy-3.9.10-4.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 2.6.36.1-10.fc15.x86_64 #1 SMP Mon
                              Nov 29 14:41:22 UTC 2010 x86_64 x86_64
Alert Count                   3
First Seen                    Út 30. listopad 2010, 23:07:52 CET
Last Seen                     St 1. prosinec 2010, 11:06:30 CET
Local ID                      b0b7b53d-25db-4fff-8f80-9b5fd6839d6e

Raw Audit Messages
type=AVC msg=audit(1291197990.303:2500): avc:  denied  { getattr } for  pid=12168 comm="totem-plugin-vi" name="/" dev=dm-9 ino=2 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem

totem-plugin-vi,mozilla_plugin_t,fs_t,filesystem,getattr
type=SYSCALL msg=audit(1291197990.303:2500): arch=x86_64 syscall=statfs success=yes exit=0 a0=1e9bc80 a1=7fff9eada050 a2=3124d0ab28 a3=7fff9ead9dc0 items=0 ppid=1 pid=12168 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm=totem-plugin-vi exe=/usr/libexec/totem-plugin-viewer subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
totem-plugin-vi,mozilla_plugin_t,fs_t,filesystem,getattr

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t fs_t:filesystem getattr;

Comment 1 Miroslav Grepl 2010-12-02 11:21:16 UTC
Fixed in selinux-policy-3.9.10-5.fc15


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