diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-24 10:07:01 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-24 13:38:31 +0000 |
commit | 875ac6980b1d99f7ba00fca082ea393ec7de61c8 (patch) | |
tree | 9f0498d20e5bad9936cf183759fc249e09deed53 /src/migration-scripts/system/21-to-22 | |
parent | 3e418913f8855d4ce8b90bb9a43019d5ef1742f2 (diff) | |
download | vyos-1x-875ac6980b1d99f7ba00fca082ea393ec7de61c8.tar.gz vyos-1x-875ac6980b1d99f7ba00fca082ea393ec7de61c8.zip |
grub: T6165: increase service TimeoutSec from 5 -> 60
The PCEngines APU2 systems with mSATA disks tend to be very slow. This results
in a service startup error:
$ systemctl status vyos-grub-update
× vyos-grub-update.service - Update GRUB loader configuration structure
Loaded: loaded (/lib/systemd/system/vyos-grub-update.service; enabled; preset: enabled)
Active: failed (Result: timeout) since Sun 2024-03-24 08:48:10 UTC; 14min ago
Main PID: 779 (code=killed, signal=TERM)
CPU: 869ms
Mar 24 08:48:05 LR4.wue3 systemd[1]: Starting vyos-grub-update.service - Update GRUB loader configuration structure...
Mar 24 08:48:10 LR4.wue3 systemd[1]: vyos-grub-update.service: start operation timed out. Terminating.
Mar 24 08:48:10 LR4.wue3 systemd[1]: vyos-grub-update.service: Main process exited, code=killed, status=15/TERM
Mar 24 08:48:10 LR4.wue3 systemd[1]: vyos-grub-update.service: Failed with result 'timeout'.
Mar 24 08:48:10 LR4.wue3 systemd[1]: Failed to start vyos-grub-update.service - Update GRUB loader configuration structure.
Measunring on an APU2 system after boot and memory is "hot", it still needs
almost 17 seconds to complete the job
cpo@LR4.wue3:~$ time sudo /usr/libexec/vyos/system/grub_update.py
real 0m16.803s
user 0m0.018s
sys 0m0.028s
(cherry picked from commit 5a12645cb25fb23f2195db1e2e977a69d0788d01)
Diffstat (limited to 'src/migration-scripts/system/21-to-22')
0 files changed, 0 insertions, 0 deletions