Bug 469094 - SELinux is preventing soffice (nsplugin_t) "getattr" to /usr/lib/openoffice.org3/program/soffice.bin (openoffice_exec_t).
Summary: SELinux is preventing soffice (nsplugin_t) "getattr" to /usr/lib/openoffice.o...
Keywords:
Status: CLOSED DUPLICATE of bug 469092
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-29 20:36 UTC by Alex Chiang
Modified: 2008-10-30 18:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-10-30 18:29:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alex Chiang 2008-10-29 20:36:45 UTC
Summary:

SELinux is preventing soffice (nsplugin_t) "getattr" to
/usr/lib/openoffice.org3/program/soffice.bin (openoffice_exec_t).

Detailed Description:

SELinux denied access requested by soffice. It is not expected that this access
is required by soffice and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.

Allowing Access:

Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for
/usr/lib/openoffice.org3/program/soffice.bin,

restorecon -v '/usr/lib/openoffice.org3/program/soffice.bin'

If this does not work, there is currently no automatic way to allow this access.
Instead, you can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c102
                              3
Target Context                system_u:object_r:openoffice_exec_t:s0
Target Objects                /usr/lib/openoffice.org3/program/soffice.bin [
                              file ]
Source                        soffice
Source Path                   /bin/bash
Port                          <Unknown>
Host                          ethanol
Source RPM Packages           bash-3.2-28.fc10
Target RPM Packages           openoffice.org-brand-3.0.0-9.6.fc10
Policy RPM                    selinux-policy-3.5.13-8.fc10
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall_file
Host Name                     ethanol
Platform                      Linux ethanol 2.6.27.4-58.fc10.i686 #1 SMP Mon Oct
                              27 18:21:44 EDT 2008 i686 i686
Alert Count                   2
First Seen                    Wed 29 Oct 2008 02:32:23 PM MDT
Last Seen                     Wed 29 Oct 2008 02:32:23 PM MDT
Local ID                      c623d955-2318-4f96-88cf-cee0cc989d65
Line Numbers                  

Raw Audit Messages            

node=ethanol type=AVC msg=audit(1225312343.326:236): avc:  denied  { getattr } for  pid=17496 comm="soffice" path="/usr/lib/openoffice.org3/program/soffice.bin" dev=dm-0 ino=2433331 scontext=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:openoffice_exec_t:s0 tclass=file

node=ethanol type=SYSCALL msg=audit(1225312343.326:236): arch=40000003 syscall=195 success=no exit=-13 a0=9c242a8 a1=bfe2d500 a2=c54ff4 a3=9c242a8 items=0 ppid=17488 pid=17496 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=18 comm="soffice" exe="/bin/bash" subj=unconfined_u:unconfined_r:nsplugin_t:s0-s0:c0.c1023 key=(null)

Comment 1 Daniel Walsh 2008-10-30 18:29:35 UTC

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


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