mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
finalize-staged: Bump timeout to 5 minutes
See https://github.com/projectatomic/rpm-ostree/issues/1568 Basically for people on e.g. rotational media, the default 90 second timeout can be too small. We're in a tough situation here, because delaying shutdown can be problematic too if the user is trying to shut down their laptop to put in a backpack, etc. There's potential optimizations here to make; I think we could pre-copy the kernel/initramfs for example. I suspect for some people the grub2 os-prober is a factor here too, if that tries to e.g. inspect attached USB rotational hard drives. But hopefully we'll get rid of that soon. Closes: #1755 Approved by: jlebon
This commit is contained in:
parent
04aff9c1c0
commit
e242033fe7
@ -32,3 +32,7 @@ Conflicts=final.target
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStop=/usr/bin/ostree admin finalize-staged
|
||||
# This is a quite long timeout intentionally; the failure mode
|
||||
# here is that people don't get an upgrade. We need to handle
|
||||
# cases with slow rotational media, etc.
|
||||
TimeoutStopSec=5m
|
||||
|
Loading…
x
Reference in New Issue
Block a user