encrypted swap

David Mandelberg mandelbergd at eth0.is-a-geek.org
Thu Jan 6 10:12:03 CST 2005

Colin Watson wrote:
> Hm, shouldn't this be done in partman rather than after the first
> reboot? I think a lot of this code might be easier if it were done
> there, because you have register-module for dealing with /etc/modules,
> the partman infrastructure for dealing with /etc/fstab, apt-install for
> installing packages, etc., and you don't have to think about whether
> it's the first time base-config has been run or whatever. It could just
> be part of partman-basicfilesystems, which sets up the swap partition.
done, see <http://code.eth0.is-a-geek.org/ubuntu>. I don't know how to make a
d-i cd, so I haven't tested at all and it probably doesn't work. Also,
partman-basicfilesystems sets up /etc/fstab for encrypted swap, but still
depends on base-config setting up /etc/crypttab using the already set up fstab.
If anybody has ideas for how to set up crypttab from partman-basicfilesystems,
I'll work on it.

> Also, I'm a bit lazy sometimes; a debdiff against the previous package
> would be great for review purposes. :-)

> I thought I fixed this last night. If there are still problems, please
> put 'set -x' at the top of /usr/sbin/tzsetup and send me the trace.
I might have been using an older version, I'll take a look at this later.

Version: 3.1
GAT/CM$/CS>$/CC/IT$/M/S/O/U dpu s+:++ !a C++$>C+++$
UB+++>++++$L++++$*-- P+>++$ L+++(++++)$ E-(---) W+++>$ N(+) o? K-
w--(---) O? M V? PS++@ PE-@ Y+@ PGP++(+++)>$ t? 5? X? R tv--(-)
b++(+++)@ DI? D? G e->++++ h* r? z*

David Mandelberg
mandelbergd at eth0.is-a-geek.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050106/5429b7c9/signature.pgp

More information about the ubuntu-devel mailing list