[systemd-devel] encrypted swap

Lennart Poettering lennart at poettering.net
Fri Mar 1 10:39:57 PST 2013


On Mon, 18.02.13 22:59, Stefan G. Weichinger (lists at xunil.at) wrote:

> 
> Am 14.02.2013 00:23, schrieb Stefan G. Weichinger:
> > 
> > I see an issue with systemd-197 on one of my gentoo systems.
> > 
> > Encrypted swap doesn't get enabled correctly as mentioned below.
> > 
> > In the git-repo of systemd I read in the TODO-file:
> > 
> >> swap units that are activated by one name but shown in the kernel
> >> under another are semi-broken
> > 
> > Might that be related to the behavior I see?

Unlikely.

> >> # cat /etc/crypttab
> >>
> >> swap 
> >> /dev/disk/by-id/ata-INTEL_SSDSA2M080G2GC_CVPO015404LR080JGN-part5 
> >> /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=256
> >>
> >> # grep swap /etc/fstab /dev/mapper/swap	none	swap	defaults	0 0
> >>
> >> AFAI understand these 2 lines should be enough to let systemd 
> >> generate its relevant unit-files etc.

Correct.

> *bump*
> 
> Would someone be so kind to give me some kind of pointer or information?

Can you provide the log where this happens? Boot with
systemd.log_level=debug and provide us with the journalctl output around
where this problem happens.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list