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

Mark Hindley <[email protected]> Wed, 4 Mar 2026 07:30:26 +0000
Newsgroups gmane.linux.debian.apt.devel
Message-ID <aaffku3G5Qr0Snlf__36063.000319858$1772609627$gmane$org@hindley.org.uk>
Control: reassign -1 elogind
Control: retitle -1 org.freedesktop.login1.service Exec=/bin/true causes apt delay if elogind is not running

On Wed, Mar 04, 2026 at 12:22:13AM +0100, [email protected] wrote:
> > 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.

Thanks for the confirmation.

I have had a look back, and I don't see any particular rationale for having
chosen Exec=/bin/true over /bin/false.

I will do some more testing. If there are no regressions for supported
configurations, I would be happy to incorporate this change.

Best wishes

Mark