Skip to content

Commit d07df43

Browse files
committed
Add a timeout to qubes-core.service
This ensures that if there is a bug and the service hangs, the user is still able to use the system eventually, rather than having to edit the kernel command line to recover. Fixes: QubesOS/qubes-issues#8619
1 parent 193bf50 commit d07df43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

linux/systemd/qubes-core.service

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ StandardOutput=syslog
99
RemainAfterExit=yes
1010
# Needed to avoid rebooting before all VMs have shut down.
1111
TimeoutStopSec=180
12+
# To prevent the system from hanging during startup if there is a bug
13+
TimeoutStartSec=180
1214
ExecStart=/usr/lib/qubes/startup-misc.sh
1315
ExecStop=/usr/bin/qvm-shutdown -q --all --wait
1416
# QubesDB daemons stop after 60s timeout in worst case; speed it up, since no

0 commit comments

Comments
 (0)