LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2010, 04:40 PM   #1
sasser
Member
 
Registered: Apr 2010
Location: Bucharest
Distribution: Slackware13.37, OpenBSD5.1, FreeBSD9.0
Posts: 40

Rep: Reputation: 0
IPsec-Tools install problems


I try to install IPsec-Tools on Slackware 13, but I get an configure error:
configure: error: Security Context requested, bu no selinux support! Aborting.

I'm linux newbie and I'm following a slackware-basics tutorial, I did as in the tutorial, but the configure stops and aborts:
Code:
# CFLAGS="-O2 -march=i486 -mcpu=i686" \
  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --localstatedir=/var \
              --enable-hybrid \
              --enable-natt \
              --enable-dpd \
              --enable-frag \
              i486-slackware-linux
# make
# make install
What can I do? How can I enable/install selinux support?
I guess it's related with AH and ESP protocols, which in my kernel are defined as modules (m). If so, how can I enable them?

Thanks
 
Old 04-19-2010, 08:41 PM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Well firstly I found you can pass this option : --enable-security-context=no
Otherwise, check that your kernel has selinux support compiled in, not just your protocols listed.
If it is also a module and not loading automatically, you could try and modprobe it.
 
Old 04-20-2010, 02:34 PM   #3
sasser
Member
 
Registered: Apr 2010
Location: Bucharest
Distribution: Slackware13.37, OpenBSD5.1, FreeBSD9.0
Posts: 40

Original Poster
Rep: Reputation: 0
I don't know how to check if my kernel has selinux support compiled in, I'm new in Linux. I did looked in the .config file generated with command:
Code:
# zcat /proc/config.gz > /usr/src/linux/.config
There is no "selinux" string. I'm using the 2.6.29.6 kernel.
Googleing about selinux I've found the Slackware doesn't have support for selinux.. does that mean I can't use IPSec?
 
Old 04-20-2010, 09:33 PM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Well it means you can't use that option of it, so try the switch I wrote in my last post in your configure option and see how you go.
 
Old 04-21-2010, 12:33 PM   #5
sasser
Member
 
Registered: Apr 2010
Location: Bucharest
Distribution: Slackware13.37, OpenBSD5.1, FreeBSD9.0
Posts: 40

Original Poster
Rep: Reputation: 0
It works with that option (--enable-security-context=no), thanks!

By the way, the ipsec policy is started with setkey command but how can be stopped? Is there any disable/stop command? So far to switch back to see the differences before and after I had to restart.
 
Old 04-21-2010, 10:45 PM   #6
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 10,005

Rep: Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191Reputation: 3191
Sorry, haven't used this application, hopefully someone will see. If not, it may pay to open a second question
with this specific query.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems to install vmware tools in fedora 11 jlucasnog Fedora 4 02-14-2010 12:33 PM
ipsec-tools: How Racoon works? zivota Linux - Software 1 09-01-2009 11:48 PM
Installing ipsec-tools on Fedora Core 5!! vishamr2000 Fedora 3 08-09-2007 02:03 PM
problems install module-init-tools, can't make DrowningFish Linux - Software 0 04-18-2006 11:51 PM
Problems after IPsec tunnel establishment bkankur Linux - Security 1 03-24-2005 05:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration