Bug#1129339: apt hangs for 25 seconds before acting if logind isn't running

Mark Hindley <[email protected]> Tue, 3 Mar 2026 19:45:00 +0000
Newsgroups gmane.linux.debian.apt.devel
Message-ID <aac6PMIK_3zKpvOx__37149.4332722918$1772567244$gmane$org@hindley.org.uk>
On Tue, Mar 03, 2026 at 07:31:16PM +0100, David Kalnischkies wrote:
> reassign -1 elogind
> thanks
>

David, thanks.

G1,

> The story so far:
> 
> The submitter identified that:
> /usr/share/dbus-1/system-services/org.freedesktop.login1.service
> contains:
> Exec=/bin/true
> 
> I noted that systemd says in its file:
> Exec=/bin/false

If you change  /usr/share/dbus-1/system-services/org.freedesktop.login1.service
to

 Exec=/bin/false

does that help the behaviour you see?

Mark