LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2009, 02:03 PM   #1
isoides
LQ Newbie
 
Registered: Aug 2007
Location: NY USA
Distribution: RHEL/Linpus/ubuntu/dsl/knoppix
Posts: 4

Rep: Reputation: 0
TrueCrypt and RHEL4


I think I'm finally getting the hang of compiling TrueCrypt (6.1a) on RHEL 4 (2.6.9-78.0.13.ELsmp)*. I am however having some post build issues.

When I attempt to mount the new volume I get a message:

Code:
 Your system uses an old version of the Linux kernel.

 Due to a bug in the Linux kernel, your system may stop 
 responding when writing data to a TrueCrypt volume. 
 This problem can be solved by upgrading the kernel 
 to version 2.6.24 or later.
Does anybody know what bug they are referring to and what is meant by "may" (RFC2119 does not seem to apply).

I don't really have the option of stepping up to RHEL 5 at this time. Can I fix it in 4?

*Kernel Source Extraction, Fuse, wxWidgets, encryption headers, RTFM/RTFRM etc.

Many thanks in advance.

i

Last edited by isoides; 03-10-2009 at 02:05 PM. Reason: Add tags, change name to TrueCrypt and RHEL4
 
Old 03-10-2009, 06:18 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,077

Rep: Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713Reputation: 2713
Quote:
Originally Posted by isoides View Post
I think I'm finally getting the hang of compiling TrueCrypt (6.1a) on RHEL 4 (2.6.9-78.0.13.ELsmp)*. I am however having some post build issues.

When I attempt to mount the new volume I get a message:

Code:
 Your system uses an old version of the Linux kernel.

 Due to a bug in the Linux kernel, your system may stop 
 responding when writing data to a TrueCrypt volume. 
 This problem can be solved by upgrading the kernel 
 to version 2.6.24 or later.
Does anybody know what bug they are referring to and what is meant by "may" (RFC2119 does not seem to apply).

I don't really have the option of stepping up to RHEL 5 at this time. Can I fix it in 4?

*Kernel Source Extraction, Fuse, wxWidgets, encryption headers, RTFM/RTFRM etc.

Many thanks in advance.

i
You don't have to upgrade to RHEL5 to get the latest kernel. Get in touch with RedHat (since you've got RHEL), and get the latest kernel from them, complete with installation instructions. I *THINK* you could do it by typing in "yum upgrade kernel", but there may be some gotchas there.
 
Old 03-11-2009, 02:13 PM   #3
isoides
LQ Newbie
 
Registered: Aug 2007
Location: NY USA
Distribution: RHEL/Linpus/ubuntu/dsl/knoppix
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks TB0ne,

This rings true as a similarly configured system worked (after much kernel fiddling).

Yum is not installed RHEL4 still uses up2date. I'll probably open a ticket.
 
Old 03-11-2009, 02:22 PM   #4
tux99
LQ Newbie
 
Registered: Mar 2009
Posts: 20

Rep: Reputation: 3
Why don't you rather use dm-crypt (which is the Linux standard way of encrypting disks), install the cryptsetup command (should be available as RHEL4 package) and you are ready to go, much easier than compiling truecrypt.

See here for a thread discussing it, with some useful links:
http://mandrivausers.org/index.php?showtopic=81004
 
Old 03-12-2009, 10:36 AM   #5
isoides
LQ Newbie
 
Registered: Aug 2007
Location: NY USA
Distribution: RHEL/Linpus/ubuntu/dsl/knoppix
Posts: 4

Original Poster
Rep: Reputation: 0
Woohooo Options!

I'm going to play with dm-crypt for a day or two and see how friendly it is.

Looks like I'll have to upgrade the Kernel either way.

http://mareichelt.de/pub/texts.cryptoloop.php
"Both cryptoloop and dm-crypt in kernels prior to 2.6.10 are
vulnerable, and even recent dm-crypt still suffers from a weak crypto
implementation."

Given the complexity of all of this, I'm a bit intimidated by loop-AES. Thanks for the dm-crypt suggestion tux.

i
 
Old 03-22-2009, 06:13 PM   #6
isoides
LQ Newbie
 
Registered: Aug 2007
Location: NY USA
Distribution: RHEL/Linpus/ubuntu/dsl/knoppix
Posts: 4

Original Poster
Rep: Reputation: 0
Wrap-up

Just for closure sake.
We switched over to dm-crypt and haven't looked back. It took me and the dba a bit of time to figure out where to create the partition. I used LVM and neither of us has much experience with that tool. Should have been easier but it will be next time.
 
  


Reply

Tags
kernel, truecrypt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Truecrypt Permissions dauphinfay Linux - Software 2 02-13-2009 07:57 AM
Truecrypt 4.3 -- new kernel MaxistXXL Linux - Software 3 05-27-2008 07:48 PM
truecrypt koker Grafpup 1 01-03-2008 11:55 AM
TrueCrypt vs. CFS kurrupt Linux - Security 4 10-10-2006 06:43 AM


All times are GMT -5. The time now is 10:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration