chiark / gitweb /
sd-bus: extend D-Bus authentication timeout considerably (#6813)
authorLennart Poettering <lennart@poettering.net>
Wed, 13 Sep 2017 17:08:26 +0000 (19:08 +0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 13 Sep 2017 17:08:26 +0000 (19:08 +0200)
commitd20df5ab6650a47078cb7ffc8e51aee341888fca
tree5e407dbd9b781b601e1fa8aebf0a24783323b691
parent01d71d24ce998692b9ceb03d815892bdb5838831
sd-bus: extend D-Bus authentication timeout considerably (#6813)

As it turns out the authentication phase times out too often than is
good, mostly due to PRNG pools not being populated during boot. Hence,
let's increase the authentication timeout from 25s to 90s, to cover for
that.

(Note that we leave the D-Bus method call timeout at 25s, matching the
reference implementation's value. And if the auth phase managed to
complete then the pools should be populated enough and mehtod calls
shouldn't take needlessly long anymore).

Fixes: #6418
src/libelogind/sd-bus/bus-internal.h
src/libelogind/sd-bus/bus-socket.c