31.01.2018 00:42, Max Ehrlich пишет: > Andrei, > > Honestly I just clicked "encrypt my home folder" on the GUI install a few > months ago. I'm trying to figure out what method ububtu uses by poking > around, but if you know how I can check please let me know > > Thanks for your
I checked /etc/pam.d/common-session on Ubuntu 16.04 and pam_systemd comes before pam_ecryptfs. You may try to swap these lines. session optional pam_systemd.so session optional pam_ecryptfs.so unwrap response, > Max > > On Tue, Jan 30, 2018, 13:09 Andrei Borzenkov <arvidj...@gmail.com> wrote: > >> 30.01.2018 18:21, Max Ehrlich пишет: >>> I use home folder encryption with ecryptfs. I also want to start >> gpg-agent >>> when I login using a user service. No matter what I try, I can't get this >>> to work because it seems like systemd deosnt wait for the decryption to >>> happen. Is there any support for this configuration or can my user >> services >>> be stored someplace else? >>> >> >> How exactly you decrypt home - PAM integration (pam_ecryptfs, pam_mount, >> ??) or something else? >> >> I suppose when using PAM it /may/ work if PAM module responsible for >> ecryptfs comes before pam_systemd. >> > _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel