Bug#925146: grub-probe appears to be stuck (in chroot)

Harald Dunkel harald.dunkel at aixigo.de
Wed Mar 20 12:59:06 GMT 2019


Package: grub-common
Version: 2.02+dfsg1-13

Running an upgrade from Stretch to Testing in a chroot grub-probe
appears to be stuck:

root      6373  4864  0 12:56 ?        00:00:04  \_ sshd: root at notty
root      6382  6373  0 12:56 ?        00:00:05      \_ xterm
root      6385  6382  0 12:56 pts/0    00:00:00          \_ bash
root      6386  6385  0 12:56 pts/0    00:00:00              \_ /bin/bash bin/syschroot /mnt
root      6399  6386  0 12:56 pts/0    00:00:00                  \_ /bin/bash -i
root      6485  6399  2 12:59 pts/0    00:00:59                      \_ aptitude
root     28592  6485  1 13:40 pts/2    00:00:03                          \_ /usr/bin/dpkg --status-fd 36 --no-triggers --configure --pending
root     31456 28592  0 13:40 pts/2    00:00:00                              \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/mdadm.postinst configure 3.4-4+b1
root     31467 31456  0 13:40 pts/2    00:00:00                                  \_ /bin/sh /var/lib/dpkg/info/mdadm.postinst configure 3.4-4+b1
root     31475 31467  0 13:40 pts/2    00:00:00                                      \_ /bin/sh /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
root     31481 31475  0 13:40 pts/2    00:00:00                                          \_ /bin/sh /usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
root     31482 31481  0 13:40 pts/2    00:00:00                                              \_ /usr/sbin/grub-probe --device /dev/mapper/vg00-buster --target=fs_uuid
root     31537 31482  0 13:43 pts/2    00:00:00                                                  \_ vgs --options vg_uuid,pv_name --noheadings --separator :


root at ppcl003:~# chroot /mnt lsblk
NAME              MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1           259:0    0 238.5G  0 disk
|-nvme0n1p1       259:1    0  1023M  0 part  /boot
`-nvme0n1p2       259:2    0 237.5G  0 part
   `-pv00          253:0    0 237.5G  0 crypt
     |-vg00-root   253:1    0    32G  0 lvm
     |-vg00-swap   253:2    0    16G  0 lvm   [SWAP]
     |-vg00-buster 253:3    0    32G  0 lvm   /
     `-vg00-export 253:4    0 157.5G  0 lvm

root at ppcl003:~# chroot /mnt df
Filesystem              1K-blocks     Used Available Use% Mounted on
/dev/mapper/vg00-buster  32765712 22985784   8085824  74% /
tmpfs                      131072        0    131072   0% /tmp
tmpfs                      131072        4    131068   1% /run
udev                      8016924        0   8016924   0% /dev
/dev/nvme0n1p1            1014680    52336    893584   6% /boot


It is still working, but it is *horrible* slow.

Do you think this could be improved? The same procedure worked
fine for Jessie --> Stretch.


Regards
Harri



More information about the Pkg-grub-devel mailing list