Login Register Actian.com  

Actian Community Forum


Go Back   Actian Community Forums > Ingres Forums > Database General
 

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 2010-02-22   #1 (permalink)
Ingres Community
 
Join Date: Mar 2009
Location: Bristol, UK
Posts: 500
Default Fedora 12 (64bit) SELinux doesn't like Ingres.

Hi,

I was trying to get ingres working on a Virtual Machine loaded with this version of Fedora when is started complaining about libcompat being unable to switch on the executable stack.

Then I noticed the big Gold star on my desktop which me a firewall-type-complaint about SELinux really not liking ingstart and it's repeated attempts to switch on the executable stack.

It referes to stack execution in the same way that my college Tutors used to refer to goto statements.

It advises a re-write, as this is an example of 'incorrect codeing'.

Have I done soemthing stupid like trying to Install Ingres on an OS that is not support, or is this the future?

Thanks

Adrian
PS I'd show you the output, but I can't seem to upload a [screenshot] file, and I haven't worked out how to get the clipboard to work in VMWare yet.

Look at the execstack section in http://people.redhat.com/drepper/selinux-mem.html

Last edited by Adrian Williamson; 2010-02-22 at 10:09 AM. Reason: found url
Adrian Williamson is offline   Reply With Quote
Old 2010-02-22   #2 (permalink)
Ingres Community
 
kschendel's Avatar
 
Join Date: Mar 2007
Location: Pittsburgh, PA
Posts: 2,044
Default

As far as I know, nothing in Ingres depends on an executable stack. It's probably some obscure relic (perhaps from internal threading) that is annoying SELinux.

The only mprotect call I could find (in cs_unix/cshl.c) is asking for PROT_READ, not PROT_EXEC, so I dunno what SElinux thinks is going on. I couldn't find any PROT_EXEC references either (well, one, in a build-time utility, but it's in a false conditional compilation.)
kschendel is offline   Reply With Quote
Old 2010-02-22   #3 (permalink)
Ingres Community
 
Join Date: Mar 2009
Location: Bristol, UK
Posts: 500
Default

Why Mr Schendel, What a delight to hear from you.

I put that SELinux stuff into permissive mode and Ingres installs without issue.

That's enough Linux for today, I'm off to shave my toes.

Adrian
Adrian Williamson is offline   Reply With Quote
Old 2010-02-22   #4 (permalink)
Ingres Community
 
kschendel's Avatar
 
Join Date: Mar 2007
Location: Pittsburgh, PA
Posts: 2,044
Default

csll.a64.asm and csll.lnx.asm need GNU-stack notes, according to net wisdom:

.section .note.GNU-stack, "", %progbits

Without an explicit GNU-stack note, the linker assumes executable stack is needed. I'll give this a try next chance I get. Plan B would be --noexecstack on the as command line.
kschendel is offline   Reply With Quote
Old 2010-03-24   #5 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 1
Default

SELinux doesn't like a lot of things, I would just turn it off
shipa01 is offline   Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


© 2011 Actian Corporation. All Rights Reserved