[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reboot haengt bis Timeout



Hallo!

Das Timeout von 30min ist im reboot.target, eine Art Runlevel von
systemd, zu finden. Ich vermute, der File System Check braucht zu lange.
Aber warum läuft der eigentlich beim Runterfahren und nicht beim
Hochfahren?

/lib/systemd/system/reboot.target

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Reboot
Documentation=man:systemd.special(7)
DefaultDependencies=no
Requires=systemd-reboot.service
After=systemd-reboot.service
AllowIsolate=yes
JobTimeoutSec=30min
JobTimeoutAction=reboot-force

[Install]
Alias=ctrl-alt-del.target


Liebe Grüsse
Martin Johannes Dauser

On Tue, 2019-05-21 at 10:28 +0200, Marc Haber wrote:
> Hallo,
> 
> ich habe hier eine Maschine (Debian stable), die regelmäßig nicht
> ordentlich herunterfährt. Ich habe jetzt mal eine ganze Weile (ca eine
> halbe Stunde) gewartet und da scheint es noch eine Timeout-Funktion zu
> geben
> 
> > [  OK  ] Stopped File System Check on /dev/disk/by-label/spiral-home.
> > [ TIME ] Timed out starting Reboot.
> > [ !!  ] Forcibly rebooting: job timed out
> 
> Nach diesem "Forcibly rebooting" dauert es schließlich leider nochmal
> mehrere Minuten.
> 
> Wo stellt man diese Timeouts ein? Kann man sie verkürzen?
> 
> Grüße
> Marc


Reply to: