URL:
<https://savannah.gnu.org/bugs/?58094>
Summary: grub-probe command freeze
Project: GNU GRUB
Submitted by: sulincix
Submitted on: Wed 01 Apr 2020 12:59:17 PM UTC
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: Software Error
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release:
Release: 2.02
Discussion Lock: Any
Reproducibility: None
Planned Release: None
_______________________________________________________
Details:
root@SulinOS:Desktop :) > df -h
Filesystem Size Used Avail Use% Mounted on
dev 10M 0 10M 0% /kernel/dev
tmpfs 3.9G 136K 3.9G 1% /tmp
tmpfs 3.9G 1.4M 3.9G 1% /run
/kernel/dev/sda2 3.9G 0 3.9G 0% /
/dev/sda2 20G 19G 424M 98% /bin
shm 3.9G 8.8M 3.9G 1% /kernel/dev/shm
cgroup_root 10M 0 10M 0% /kernel/sys/fs/cgroup
When I run grub-mkconfig -o /boot/grub/grub.cfg command, freeze and use %100
of cpu.
I detect line of this bug.
/usr/share/grub/grub-mkconfig_lib file line 161:
hints="`"${grub_probe}" --device $@ --target=hints_string 2> /dev/null`" ||
hints=
And I have a solution. We need to add timeout in this line.
sorry my bad english :D
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58094>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/