Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th September 2011, 05:01 AM
Mack Online
Registered User
 
Join Date: Mar 2006
Location: Central California
Posts: 108
linuxfirefox
F15: Possible to automount encrypted pendrives with keyfiles?

Thanks for any ideas!

I have a bunch of (mainly) pen drives that are luks encrypted. Starting with FC6 I had udev run a simple script that looked for a keyfile named the UUID of the encrypted partition, then run cryptsetup, creating a /dev/mapper device. Till F15, HAL could catch that, mount it under /media and notify Thunar (or nautilus, though I prefer Thunar and run just openbox).

Now HAL is deprecated, and, so far as I've been able to tell, haldaemon.service, which is running, is pre-empted in mysterious ways by systemd, rendering it useless, even though its old luks scripts are still there.

I've tried a million things, and googled two million, since installing F15. What's crazy is that I'm sure there are three million people out there who must have the same problem, and I can't find anything.

The best I've managed is to have udev run a script that uses a keyfile with cryptsetup and then runs "udisks --mount" to mount under /media. The problems are that (1) running a file manager (Thunar or nautilus) continually pops up an "enter password" dialog (duh, it's already decrypted and mounted!), and (2) the file manager can't umount---even a Thunar custom action to sudo umount, after I've edited /etc/sudoers to allow Me to umount.

Thanks very much for any ideas!
Reply With Quote
Reply

Tags
automount, encrypted, f15, keyfiles, pendrives

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 13: How to disable LUKS-encrypted partition from automount? Sagari Using Fedora 5 25th April 2011 07:58 AM
Encrypted HDD cleus Hardware & Laptops 8 13th February 2011 04:23 AM
[SOLVED] Encrypted drive...does it mean encrypted files? theAdmiral Hardware & Laptops 0 15th March 2010 06:49 AM
[SOLVED] hald can't automount read-only encrypted cd kyuso Security and Privacy 1 27th December 2008 01:05 AM
encrypted /tmp sciguy125 Using Fedora 1 21st November 2007 06:30 PM


Current GMT-time: 04:08 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat