TechTalkz.com Logo Ask the Expert

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Linux & Opensource > Gentoo Linux

Notices

stop auto-mounting dmcrypt/LUKS at boot?

Gentoo Linux


Reply
 
Thread Tools Display Modes
Old 14-12-2007, 08:35 PM   #1
Sune Marcher
Guest
 
Posts: n/a
stop auto-mounting dmcrypt/LUKS at boot?

Hey everybody,

I've recently set up an LUKS-encrypted raid mirror on my fileserver,
which went smoothly and is working just fine; manpages and a little
googling was all it took.

However, I now face the problem that the gentoo initscripts wants to
mount the partition at runtime, prompts for passphrase and has very long
timeout, which isn't very nice for a server that I want to be able to
remote-boot. I've been searching both the web and newsgroups, but
haven't been able to find a solution for this (indeed, my google-fu is
weak).

If I remove the entry from /etc/conf.d/dmcrypt , the auto-mounting (and
thus passphrase-asking) doesn't happen, which is just fine; having SSH
in and do cryptsetup manually is no problem. The problem with this
approach, however, is (obviously ) that the crypt mapping isn't taken
down on boot/shutdown, so if I forget to do it manually, the raid won't
dismount cleanly.

Is there some clean way to not auto-mount but have auto-dismount on
shutdown, or should I go hunt for some existing shutdown script I can
hack a dismount line into?

Thanks in advance!
  Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 12:22 PM.


vBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2010, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional