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

[email protected] Wed, 4 Mar 2026 00:22:13 +0100
Newsgroups gmane.linux.debian.apt.devel
Message-ID <aadtJb_zHa1rMmLb__7054.04965426482$1772580323$gmane$org@edera>
On Tue, Mar 03, 2026 at 07:45:00PM +0000, Mark Hindley wrote:
> 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

Yes, it works.

g.