Bug 469850 - semanage does not have the rights to fix reloc failure in libjvm.so
Summary: semanage does not have the rights to fix reloc failure in libjvm.so
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-04 13:22 UTC by ghherlin
Modified: 2008-11-04 13:55 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-11-04 13:55:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
initial selinux report with suggestions that fail (3.23 KB, text/plain)
2008-11-04 13:22 UTC, ghherlin
no flags Details

Description ghherlin 2008-11-04 13:22:10 UTC
Created attachment 322420 [details]
initial selinux report with suggestions that fail

Description of problem:

semanage does not have the se-policy rights to change the roghts to permitcorrect execution of libjvm.so
(semanage fcontext -a -t textrel_shlib_t '/opt/jdk1.6.0_10/jre/lib/i386/server/libjvm.so')



Version-Release number of selected component (if applicable): FC10Snap3


How reproducible:




Steps to Reproduce:
Install Sun's  1.6.0_10 JDKas describen in http://fedorasolved.org/browser-solutions/java-i386
Start Opera.
selinux comes up with the relocation failure message attached.
Attempt the suggested authorization mantras.
  
Actual results:
see attached selinux troubleshooting output files.files


Expected results:
success of the (last) semanage step.


Additional info:

Comment 1 Daniel Walsh 2008-11-04 13:55:34 UTC
Just run restorecon on the library it should be labeled correctly the problem is you installed it from a non rpm so it did not label the file correctly

restorecon -R -v /opt


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