[systemd-devel] Partition with random key in crypttab

Lennart Poettering lennart at poettering.net
Mon Aug 24 05:27:26 PDT 2015


On Fri, 21.08.15 12:22, Some Body (somebody.mozfr at gmail.com) wrote:

> Hi, I'm not experienced at all with systemd, and not much more in system
> administration, and I don't know if I should post this here, but it is the
> only list I found that seems to provide general support for systemd.
> 
> I want to encrypt my /tmp directory by putting it in an encrypted partition
> (sda9). I put the following line in /etc/crypttab :
> 
> >crypttmp /dev/sda9 /dev/urandom
> >tmp=ext4,cipher=aes,size=256,hash=sha256

systemd's cryptsetup does not understand Debian's "tmp=ext4" option
syntax. We'd be happy to extend it to support it however:

https://github.com/systemd/systemd/issues/952

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list