[systemd-devel] Ordering between user at .service and systemd-logind.service

Lennart Poettering lennart at poettering.net
Mon Jul 1 10:59:52 UTC 2024


On Mo, 01.07.24 12:39, Lennart Poettering (lennart at poettering.net) wrote:

> > Hmm, so we typically don't sync on systemd-logind for user
> > stuff/sessions if we can avoid that, since the root user is a user
> > that shall be allowed logging in too, and typically much earlier than
> > regular users, i.e long before logind is up.
> >
> > That said, given that user at .service is pretty much a logind concept, I
> > guess we should have at least that dep in place.
> >
> > Can you please file an issue (or even better a PR), that adds the dep on
> > logind to user at .service)? That'd be great!
>
> (I guess this bug was introduced by
> 278e815bfa3e4c2e3914e00121c37fc844cb2025 btw, which had an indirect
> dep in place, which was removed entirely. Replacing it with a
> dependenc on systemd-logind.service should be safe and good afaics)

To cut things short I have no prepped a PR myself for this:

https://github.com/systemd/systemd/pull/33555

Hence, no further need to do anything, I took care of everything.

Thanks,

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list