selinux and legacy "compat" application in FC5
Chris Jones
jonesc at hep.phy.cam.ac.uk
Mon Mar 27 23:20:10 UTC 2006
Hi,
I am trying to get an application running in FC5 that was working in FC4. The
application is an old compat one (developed primarily on EL3 with gcc
3.2.3...). When I run it I get a crash (see below). I believe the issue is
SELinux (and perhaps dlopen), as if I turn this to disabled (normally
enforcing) it runs fine. Also, with selinux on I get the message
Mar 28 00:10:03 localhost kernel: audit(1143501003.091:1143): avc: denied
{ execheap } for pid=13048 comm="Boole.exe"
scontext=user_u:system_r:unconfined_t:s0
tcontext=user_u:system_r:unconfined_t:s0 tclass=process
I know jack all about selinux, but with rather if possible figure out how to
run this with it enabled rather than just disabling it. Can anyone give me
any pointers as to what I need to do - (Edit some selinux config policy ?)
cheers Chris
*** Break *** segmentation violation
Generating stack trace...
0x0171d7ea in ROOT::Cintex::Allocate_void_function(void*, void (*)(void*)) +
0x54
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x0171803e in ROOT::Cintex::CINTClassBuilder::Setup_tagtable() + 0x5fc
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x01717815 in
ROOT::Cintex::CINTClassBuilder::CINTClassBuilder(ROOT::Reflex::Type const&) +
0xa3
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x01717523 in ROOT::Cintex::CINTClassBuilder::Get(ROOT::Reflex::Type const&)
+ 0xcd
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x0171b8fc in <unknown>
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x0171b980 in <unknown>
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x01729ea9 in <unknown>
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x01715ecd in <unknown>
from /lhcb/sw/lcg/external/root/5.08.00b/slc3_ia32_gcc323/root/lib/libCintex.so
0x00ad4a88 in <unknown> from /lib/ld-linux.so.2
0x00ad4b86 in <unknown> from /lib/ld-linux.so.2
0x00ad83d3 in <unknown> from /lib/ld-linux.so.2
0x00ad46c9 in <unknown> from /lib/ld-linux.so.2
0x00ad7c1a in <unknown> from /lib/ld-linux.so.2
0x00c40e04 in <unknown> from /lib/libdl.so.2
0x00ad46c9 in <unknown> from /lib/ld-linux.so.2
0x00c41400 in <unknown> from /lib/libdl.so.2
0x00c40d49 in dlopen + 0x3d from /lib/libdl.so.2
0x0044b5fe in <unknown>
from /home/jonesc/cmtuser/Digi/Boole/v11r0/slc3_ia32_gcc323/libGaudiKernel.so
0x0044b687 in <unknown>
from /home/jonesc/cmtuser/Digi/Boole/v11r0/slc3_ia32_gcc323/libGaudiKernel.so
0x0044b89b in System::loadDynamicLib(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, void**) + 0x18b
from /home/jonesc/cmtuser/Digi/Boole/v11r0/slc3_ia32_gcc323/libGaudiKernel.so
0x04fc62bc in DLLClassManager::loadModule(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&) + 0x560
from /lhcb/sw/lhcb/GAUDI/GAUDI_v18r2/GaudiSvc/v14r6/slc3_ia32_gcc323/libGaudiSvc.so
0x04f99471 in ApplicationMgr::decodeDllNameList() + 0x721
from /lhcb/sw/lhcb/GAUDI/GAUDI_v18r2/GaudiSvc/v14r6/slc3_ia32_gcc323/libGaudiSvc.so
0x04f945ed in ApplicationMgr::configure() + 0x8b9
from /lhcb/sw/lhcb/GAUDI/GAUDI_v18r2/GaudiSvc/v14r6/slc3_ia32_gcc323/libGaudiSvc.so
0x04f96172 in ApplicationMgr::run() + 0x2e
from /lhcb/sw/lhcb/GAUDI/GAUDI_v18r2/GaudiSvc/v14r6/slc3_ia32_gcc323/libGaudiSvc.so
0x08049499 in main + 0x415 from ../slc3_ia32_gcc323/Boole.exe
0x00af97e4 in __libc_start_main + 0xdc from /lib/libc.so.6
0x08048ff5 in <unknown> from ../slc3_ia32_gcc323/Boole.exe
More information about the fedora-list
mailing list