Re: [systemd-devel] Systemd User Service Not Starting with ecryptfs

2018-01-31 Thread Max Ehrlich
Andrei,

Amazingly it seems like the solution was that simple, thanks for your help.
I'm going to let the Ubuntu guys know those should probably be swapped

thanks again,
Max

On Tue, Jan 30, 2018 at 10:20 PM Andrei Borzenkov 
wrote:

> 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 optionalpam_systemd.so
> session optionalpam_ecryptfs.so unwrap
>
>
> response,
> > Max
> >
> > On Tue, Jan 30, 2018, 13:09 Andrei Borzenkov 
> 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


Re: [systemd-devel] Systemd User Service Not Starting with ecryptfs

2018-01-30 Thread 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 response,
Max

On Tue, Jan 30, 2018, 13:09 Andrei Borzenkov  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


[systemd-devel] Systemd User Service Not Starting with ecryptfs

2018-01-30 Thread 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?
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel