Ao reiniciar minha máquina Debian, obtive um tempo limite de 90 anos do xdg-document-portal
serviço:
May 25 22:52:02 qaa systemd[2230]: Stopping xdg-document-portal.service - flatpak document portal service...
[...]
May 25 22:52:04 qaa systemd[1]: Started plymouth-reboot.service - Show Plymouth Reboot Screen.
May 25 22:52:04 qaa systemd[1]: plymouth-switch-root-initramfs.service - Tell Plymouth To Jump To initramfs was skipped because no trigger condition checks were met.
May 25 22:53:32 qaa systemd[2230]: xdg-document-portal.service: State 'stop-sigterm' timed out. Killing.
May 25 22:53:32 qaa systemd[2230]: xdg-document-portal.service: Killing process 116031 (xdg-document-po) with signal SIGKILL.
May 25 22:53:32 qaa systemd[2230]: xdg-document-portal.service: Killing process 116037 (fusermount3) with signal SIGKILL.
May 25 22:53:32 qaa systemd[2230]: xdg-document-portal.service: Main process exited, code=killed, status=9/KILL
May 25 22:53:32 qaa systemd[2230]: xdg-document-portal.service: Failed with result 'timeout'.
May 25 22:53:32 qaa systemd[2230]: Stopped xdg-document-portal.service - flatpak document portal service.
(isto é do bug 1071919 do Debian ).
Os anos 90 são muito longos e gostaria de reduzir esse atraso. Como?
Obs: já tenho um /etc/systemd/system.conf.d/stop-timeout.conf
arquivo com
[Manager]
# Note[VL]: The default 90s timeout for stopping of units is much too long!
# In general, the timeout is reached, as some unit is frozen or does not
# react. So, let us decrease it to a value that would be less annoying.
DefaultTimeoutStopSec=20s
e pensei que isso fosse suficiente (não há outra configuração de tempo limite no /etc/systemd
diretório). Mas como você pode ver, não é.