You are not logged in.

#1 2020-03-31 00:25:09

smsx
Member
Registered: 2020-03-31
Posts: 2

systemd-homed incompatible with Screen Lockers

Hey all, recently tried to experiment with systemd-homed to create a LUKS encrypted home volume and associated user.

I've modified my pam.d as specified on the arch-wiki page, and I can log in perfectly fine.
When my screen locks - either automatically or manually - on either sway with swaylock or xfce, I can't log in again.
It seems like these screen locker programs are trying to authenticate against /etc/shadow or whatever classic method exists and aren't picking up on the pam authentication that systemd-homed is using.
Is there a simple way to get this working? an additional config file in pam.d that needs to be updated?

I don't see any error logs related to this when running

journalctl -xe

Is there a log somewhere related to authentication issues I can check? something with loginctl perhaps?

Thanks for the help!

Offline

#2 2020-03-31 05:50:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,809

Re: systemd-homed incompatible with Screen Lockers

Like /etc/pam.d/swaylock ?

Offline

#3 2020-03-31 20:45:19

dg10a
Member
Registered: 2019-05-09
Posts: 1

Re: systemd-homed incompatible with Screen Lockers

Looks like this is a known issue, being tracked here: https://github.com/systemd/systemd/issues/15072

Offline

#4 2020-04-21 16:57:09

smsx
Member
Registered: 2020-03-31
Posts: 2

Re: systemd-homed incompatible with Screen Lockers

Thanks for the info, I had to switch back to an old school homedir and lost track of this (also uh a pandemic is distracting). Hopefully they get this resolved for v246.

Offline

#5 2020-05-15 20:32:28

heywoodlh
Member
Registered: 2016-10-31
Posts: 26
Website

Re: systemd-homed incompatible with Screen Lockers

For the record -- in case anyone else is interested -- the fix has been merged into Systemd

If you're feeling bold you can install systemd-git from the AUR and screen lockers will start working again.


(If you try to install the systemd-git package from the AUR, it will fail unless you edit the PKGFILE)

Offline

Board footer

Powered by FluxBB