]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/bus-socket.c
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)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2017 17:08:26 +0000 (19:08 +0200)
commit036d61b32e7e684a532904ec26a6ebaa1b850ab9
tree768b6a716269620ff891b065d43c44f69a173a89
parentd74edffa8b9c82a4de30eb2e513cb0411bdec4d3
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/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-socket.c