public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@f_philipp.fastmail.net>
To: Gentoo-User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Cryptfs
Date: Sat, 29 Mar 2008 18:32:21 +0100	[thread overview]
Message-ID: <1206811941.13252.13.camel@NOTE_GENTOO64.PHHEIMNETZ> (raw)

[-- Attachment #1: Type: text/plain, Size: 875 bytes --]

Hi list!

I think I have problems understanding the way /etc/conf.d/cryptfs works.

My goal is to open a Luks-mapping for /var with a gpg-encrypted file
on /boot and then open a mapping for /var/tmp with a plaintext file
on /var.

I thought it would work with the following settings:

/etc/conf.d/cryptfs

target=var
source='/dev/mapper/vg-crypt_var'
key='/boot/key.gpg:gpg'

target=var_tmp
source='/dev/mapper/vg-crypt_var_tmp'
key='/var/lib/tmp_key'

___________

/etc/fstab

/dev/mapper/var		/var 		reiserfs [...]
/dev/mapper/var_tmp	/var/tmp	reiserfs [...]

___________

I've read the warning in /etc/conf.d/cryptfs about /usr on a separate
partition and followed their advice.

However, the setup doesn't work. I'm not asked for the passphrase, the
mappings are not created. What did I forget? 

Thanks in advance!

Florian Philipp

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-03-29 17:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-29 17:32 Florian Philipp [this message]
2008-03-30  7:50 ` [gentoo-user] Cryptfs Dirk Heinrichs
2008-03-30 11:24   ` Florian Philipp
2008-03-30 11:24     ` Dirk Heinrichs
2008-03-30 13:06   ` Neil Bothwick
2008-03-30 16:50     ` Dirk Heinrichs
2008-03-30 20:13       ` Neil Bothwick
2008-03-31  6:36         ` Dirk Heinrichs
2008-03-31  8:11           ` Neil Bothwick
2008-03-31 16:15             ` Dirk Heinrichs
2008-03-31 22:11               ` Neil Bothwick
2008-04-01  6:04                 ` Dirk Heinrichs
2008-04-01  7:49                   ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1206811941.13252.13.camel@NOTE_GENTOO64.PHHEIMNETZ \
    --to=lists@f_philipp.fastmail.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox