Re: [systemd-devel] Partition with random key in crypttab
On Fri, 21.08.15 12:22, Some Body (somebody.mo...@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 ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Partition with random key in crypttab
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 ...and the following in /etc/fstab : /dev/mapper/crypttmp /tmp ext4 defaults 0 2 but when I boot, systemd hangs for 1:30, saying that "a startup job is running for dev-mapper-crypttmp". Then it fails, and the encrypted tmp is not mounted. I'm on Debian Jessie, if it can help. What is the recommended way to mount an encrypted partition with a random key ? Thanks. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel