Dear Maintainer,
current "group" configuration of /etc/nsswitch.conf (group: files systemd) will
not correctly resolve group membership for systemd-homed users (for groups in
/etc/group).
For instance, polkit will look for members of group sudo, failing to note that
currently logged user (systemd-homed managed) is a member thereof.
Steps to reproduce:
Create a user via homectl create <user> --member-of=sudo.
`getent group sudo`
The output will not list the user created in first step.
Workaround/Fix: Changing the group line in /etc/nsswitch.conf to use
[SUCCESS=merge] resolves the issue: "group: files [SUCCESS=merge] systemd"
After workaround, `getent group sudo` will list users reported by systemd.
I don't know if this is the correct fix for this issue though.