On Sat, Feb 9, 2013 at 12:56 PM, Stefan G. Weichinger <li...@xunil.at> wrote:
>
> Next episode:
>
> I also migrated my gentoo thinkpad to systemd today.

Cool.

> Generally very similar to my desktop ... ~amd64 with Gnome 3.6.
>
> Things went pretty well, I have to say.
>
> I can login to gdm here! ;-)

Try to list the differences between your laptop and your desktop
(world files, USE flags, partition schemes, etc.) That was my approach
when you described your problem to me; try to see what it
differentiates from mine, but we never got too far with tat.

> An issue I haven't solved yet: encrypted swap.
>
> I always get timeouts as systemd waits for the decrypted mapper-device
> to come up. Swap doesn't get enabled but when it finally continues to
> boot I see the valid mapper-device there and can "swapon" it manually.
>
> # 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.
>
> Right?

I haven't used an encrypted swap (nor partition), but I believe that's
all you need. A workaround perhaps is to put the nofail option, which
at least will skip the partition when booting.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to