Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/cryptsetup/files: dmcrypt-1.0.6.confd cryptsetup-1.0.6-udevsettle.patch 1.1.3-dm-crypt-start.sh 1.1.3-dm-crypt-stop.sh 1.0.5-dmcrypt.rc 1.0.6-dmcrypt.confd 1.0.6-r2-dm-crypt-start.sh 1.0.5-dm-crypt-stop.sh dmcrypt.rc
Date: Tue, 26 Aug 2014 14:43:51
Message-Id: 20140826144347.B43913ED7@oystercatcher.gentoo.org
1 ssuominen 14/08/26 14:43:47
2
3 Added: dmcrypt-1.0.6.confd
4 Removed: cryptsetup-1.0.6-udevsettle.patch
5 1.1.3-dm-crypt-start.sh 1.1.3-dm-crypt-stop.sh
6 1.0.5-dmcrypt.rc 1.0.6-dmcrypt.confd
7 1.0.6-r2-dm-crypt-start.sh 1.0.5-dm-crypt-stop.sh
8 dmcrypt.rc
9 Log:
10 old
11
12 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
13
14 Revision Changes Path
15 1.1 sys-fs/cryptsetup/files/dmcrypt-1.0.6.confd
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/files/dmcrypt-1.0.6.confd?rev=1.1&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/cryptsetup/files/dmcrypt-1.0.6.confd?rev=1.1&content-type=text/plain
19
20 Index: dmcrypt-1.0.6.confd
21 ===================================================================
22 # /etc/conf.d/dmcrypt
23
24 # For people who run dmcrypt on top of some other layer (like raid),
25 # use rc_need to specify that requirement. See the runscript(8) man
26 # page for more information.
27
28 #--------------------
29 # Instructions
30 #--------------------
31
32 # Note regarding the syntax of this file. This file is *almost* bash,
33 # but each line is evaluated separately. Separate swaps/targets can be
34 # specified. The init-script which reads this file assumes that a
35 # swap= or target= line starts a new section, similar to lilo or grub
36 # configuration.
37
38 # Note when using gpg keys and /usr on a separate partition, you will
39 # have to copy /usr/bin/gpg to /bin/gpg so that it will work properly
40 # and ensure that gpg has been compiled statically.
41 # See http://bugs.gentoo.org/90482 for more information.
42
43 # Note that the init-script which reads this file detects whether your
44 # partition is LUKS or not. No mkfs is run unless you specify a makefs
45 # option.
46
47 # Global options:
48 #----------------
49
50 # Max number of checks to perform (1 per second)
51 #dmcrypt_max_timeout=120
52
53 # Arguments:
54 #-----------
55 # target=<name> == Mapping name for partition.
56 # swap=<name> == Mapping name for swap partition.
57 # source='<dev>' == Real device for partition.
58 # key='</path/to/keyfile>[:<mode>]' == Fullpath from / or from inside removable media.
59 # remdev='<dev>' == Device that will be assigned to removable media.
60 # gpg_options='<opts>' == Default are --quiet --decrypt
61 # options='<opts>' == cryptsetup, for LUKS you can only use --readonly
62 # loop_file='<file>' == Loopback file.
63 # pre_mount='cmds' == commands to execute before mounting partition.
64 # post_mount='cmds' == commands to execute after mounting partition.
65 #-----------
66 # Supported Modes
67 # gpg == decrypt and pipe key into cryptsetup.
68 # Note: new-line character must not be part of key.
69 # Command to erase \n char: 'cat key | tr -d '\n' > cleanKey'
70
71 #--------------------
72 # dm-crypt examples
73 #--------------------
74
75 ## swap
76 # Swap partitions. These should come first so that no keys make their
77 # way into unencrypted swap.
78 # If no options are given, they will default to: -c aes -h sha1 -d /dev/urandom
79 # If no makefs is given then mkswap will be assumed
80 #swap=crypt-swap
81 #source='/dev/hda2'
82
83 ## /home with passphrase
84 #target=crypt-home
85 #source='/dev/hda5'
86
87 ## /home with regular keyfile
88 #target=crypt-home
89 #source='/dev/hda5'
90 #key='/full/path/to/homekey'
91
92 ## /home with gpg protected key
93 #target=crypt-home
94 #source='/dev/hda5'
95 #key='/full/path/to/homekey:gpg'
96
97 ## /home with regular keyfile on removable media(such as usb-stick)
98 #target=crypt-home
99 #source='/dev/hda5'
100 #key='/full/path/to/homekey'
101 #remdev='/dev/sda1'
102
103 ##/home with gpg protected key on removable media(such as usb-stick)
104 #target=crypt-home
105 #source='/dev/hda5'
106 #key='/full/path/to/homekey:gpg'
107 #remdev='/dev/sda1'
108
109 ##/tmp with regular keyfile
110 #target=crypt-tmp
111 #source='/dev/hda6'
112 #key='/full/path/to/tmpkey'
113 #pre_mount='/sbin/mkreiserfs -f -f ${dev}'
114 #post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}'
115
116 ## Loopback file example
117 #mount='crypt-loop-home'
118 #source='/dev/loop0'
119 #loop_file='/mnt/crypt/home'