On Mon, 6 May 2024 at 12:41, Jeremy Bícha <jeremy.bi...@canonical.com> wrote: > > On Mon, May 6, 2024 at 7:33 AM Luca Boccassi <bl...@debian.org> wrote: > > Am I reading this correctly, that the package is using tmpfiles to > > create a home directory? I'm not sure that was foreseen as a use case > > to be honest, I'd bring it upstream > > Yes. Should I bring the issue upstream to systemd or upstream to > gnome-remote-desktop?
Actually the manpage of sysusers.d suggests to do this: systemd-sysusers only sets the home directory record in the user database. To actually create the directory, consider adding a corresponding tmpfiles.d(5) fragment. So please open an issue upstream in the systemd repo with the reproducer for the race condition, as it sounds something that at least should be documented explicitly how to handle, at a minimum