Re: [systemd-devel] RFC: luksSuspend support in sleep/sleep.c

2019-10-09 Thread Lennart Poettering
On Mi, 09.10.19 12:20, Jonas Meurer (jo...@freesources.org) wrote: > Hi systemd devs, > > We[1] are working on bringing luksSuspend for LUKS devices before system > suspend to Debian. The basic idea is to remove the encryption keys of > encrypted devices from RAM before suspending the system. > >

[systemd-devel] /cdrom mounted from initrd is stopped on boot, possibly confused about device-bound

2019-10-09 Thread Dimitri John Ledkov
Ubuntu installer images use initrd, which has udevd but no systemd. It mounts /dev/sr0 as /root/cdrom, then pivots to /root, meaning /root/cdrom becomes just /cdrom and exec systemd as pid 1. At this point cdrom.mount is stopped as it's bound to an inactive dev-sr0.device. Then sometime later

[systemd-devel] RFC: luksSuspend support in sleep/sleep.c

2019-10-09 Thread Jonas Meurer
Hi systemd devs, We[1] are working on bringing luksSuspend for LUKS devices before system suspend to Debian. The basic idea is to remove the encryption keys of encrypted devices from RAM before suspending the system. While working on it, we figured out that systemd probably is the best place to