home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 15,959 of 17,684   
   Sune Marcher to All   
   stop auto-mounting dmcrypt/LUKS at boot?   
   10 Dec 07 15:55:32   
   
   From: sm_hamham@flork.dk.invalid   
      
   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!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca