Package: grub-common Version: 2.02+dfsg1-18 Followup-For: Bug #558422 Control: severity -1 serious
This just happened to me as well, except that I as not able to continue the upgrade by hitting Ctrl-C. I don't consider this behavior acceptable in a stable release, hence raising the severity to serious. While the command is hanging, the relevant process tree looks like this: root 9110 0.0 0.0 20076 13532 pts/1 Ss+ 09:34 0:00 | \_ /usr/bin/dpkg --status-fd 29 --configure --pending root 9161 0.0 0.1 37892 24684 pts/1 S+ 09:35 0:00 | \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/grub-pc.postinst configure 2.02+dfsg1-16 root 9178 0.0 0.0 7372 3748 pts/1 S+ 09:35 0:00 | \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.02+dfsg1-16 root 9306 0.0 0.0 7372 2156 pts/1 S+ 09:35 0:00 | \_ /bin/bash /var/lib/dpkg/info/grub-pc.postinst configure 2.02+dfsg1-16 root 9307 0.0 0.0 11208 1428 pts/1 D+ 09:35 0:00 | \_ grub-mkdevicemap -m - root 9308 0.0 0.0 6408 896 pts/1 S+ 09:35 0:00 | \_ grep -v ^(fd[0-9]\+) Attaching a gdb or to the grub-mkdevicemap process to look what it is blocked on unfortunately didn't work. Gdb or gcore then simply blocked then too and could only get terminated with a kill -9. -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/de--gd--41100--vg-root / ext4 rw,relatime,errors=remount-ro 0 0 /dev/sdb1 /srv ext4 rw,noatime,discard,errors=remount-ro 0 0 /dev/sda1 /boot ext2 rw,relatime,block_validity,barrier,user_xattr,acl,stripe=4 0 0 /dev/sdb1 /run/schroot/mount/OmC-65b79d77-f721-4a44-99d0-5d802b9fd22b ext4 rw,noatime,discard,errors=remount-ro 0 0 /dev/mapper/de--gd--41100--vg-root /run/schroot/mount/OmC-65b79d77-f721-4a44-99d0-5d802b9fd22b/home ext4 rw,relatime,errors=remount-ro 0 0 /dev/mapper/de--gd--41100--vg-root /run/schroot/mount/OmC-65b79d77-f721-4a44-99d0-5d802b9fd22b/var/lib/dbus ext4 rw,relatime,errors=remount-ro 0 0 /dev/sdb1 /run/schroot/mount/OmC-65b79d77-f721-4a44-99d0-5d802b9fd22b/srv ext4 rw,noatime,discard,errors=remount-ro 0 0 /dev/sdb1 /run/schroot/mount/OmC-7e95c799-4435-4951-9f98-4ef1173d14f5 ext4 rw,noatime,discard,errors=remount-ro 0 0 /dev/mapper/de--gd--41100--vg-root /run/schroot/mount/OmC-7e95c799-4435-4951-9f98-4ef1173d14f5/home ext4 rw,relatime,errors=remount-ro 0 0 /dev/mapper/de--gd--41100--vg-root /run/schroot/mount/OmC-7e95c799-4435-4951-9f98-4ef1173d14f5/var/lib/dbus ext4 rw,relatime,errors=remount-ro 0 0 /dev/sdb1 /run/schroot/mount/OmC-7e95c799-4435-4951-9f98-4ef1173d14f5/srv ext4 rw,noatime,discard,errors=remount-ro 0 0 /dev/sdc1 /media/mlenk/Debian\040buster-DI-rc1\040amd64\040n iso9660 ro,nosuid,nodev,relatime,nojoliet,check=s,map=n,blocksize=2048,uid=1000,gid=1000,dmode=500,fmode=400 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then set have_grubenv=true load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 c4631e80-5591-4c37-906d-639d39b87ece else search --no-floppy --fs-uuid --set=root c4631e80-5591-4c37-906d-639d39b87ece fi font="/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=5 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=5 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 c4631e80-5591-4c37-906d-639d39b87ece else search --no-floppy --fs-uuid --set=root c4631e80-5591-4c37-906d-639d39b87ece fi insmod png if background_image /grub/.background_cache.png; then set color_normal=white/black set color_highlight=black/white else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" } set linux_gfx_mode= export linux_gfx_mode menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1408dc11-6a33-492e-b9c9-8c140f5afaaa' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 c4631e80-5591-4c37-906d-639d39b87ece else search --no-floppy --fs-uuid --set=root c4631e80-5591-4c37-906d-639d39b87ece fi echo 'Loading Linux 4.19.0-4-amd64 ...' linux /vmlinuz-4.19.0-4-amd64 root=/dev/mapper/de--gd--41100--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-4.19.0-4-amd64 } submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1408dc11-6a33-492e-b9c9-8c140f5afaaa' { menuentry 'Debian GNU/Linux, with Linux 4.19.0-4-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-4-amd64-advanced-1408dc11-6a33-492e-b9c9-8c140f5afaaa' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 c4631e80-5591-4c37-906d-639d39b87ece else search --no-floppy --fs-uuid --set=root c4631e80-5591-4c37-906d-639d39b87ece fi echo 'Loading Linux 4.19.0-4-amd64 ...' linux /vmlinuz-4.19.0-4-amd64 root=/dev/mapper/de--gd--41100--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-4.19.0-4-amd64 } menuentry 'Debian GNU/Linux, with Linux 4.19.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-4-amd64-recovery-1408dc11-6a33-492e-b9c9-8c140f5afaaa' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_msdos insmod ext2 set root='hd0,msdos1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 c4631e80-5591-4c37-906d-639d39b87ece else search --no-floppy --fs-uuid --set=root c4631e80-5591-4c37-906d-639d39b87ece fi echo 'Loading Linux 4.19.0-4-amd64 ...' linux /vmlinuz-4.19.0-4-amd64 root=/dev/mapper/de--gd--41100--vg-root ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-4.19.0-4-amd64 } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### *********************** END /boot/grub/grub.cfg *********************** BEGIN /proc/mdstat Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] unused devices: <none> *********************** END /proc/mdstat *********************** BEGIN LVM *********************** END LVM *********************** BEGIN /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 May 9 13:50 ata-PLDS_DVD-RW_DH16AFSH_DX0F17036L1CB67040KY -> ../../sr0 lrwxrwxrwx 1 root root 9 May 9 13:50 ata-Samsung_SSD_850_EVO_500GB_S3R3NF0JB17226V -> ../../sdb lrwxrwxrwx 1 root root 10 May 9 13:50 ata-Samsung_SSD_850_EVO_500GB_S3R3NF0JB17226V-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 9 May 9 13:50 ata-WDC_WD10EZEX-08WN4A0_WD-WMC6Y0M3KPFU -> ../../sda lrwxrwxrwx 1 root root 10 May 9 13:51 ata-WDC_WD10EZEX-08WN4A0_WD-WMC6Y0M3KPFU-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 9 13:50 ata-WDC_WD10EZEX-08WN4A0_WD-WMC6Y0M3KPFU-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 May 9 13:50 ata-WDC_WD10EZEX-08WN4A0_WD-WMC6Y0M3KPFU-part5 -> ../../sda5 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-name-de--gd--41100--vg-root -> ../../dm-2 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-name-de--gd--41100--vg-swap_1 -> ../../dm-1 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-name-sda5_crypt -> ../../dm-0 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-uuid-CRYPT-LUKS1-c49991c1945f4b1fa16d475620f35997-sda5_crypt -> ../../dm-0 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-uuid-LVM-plyNCzWRkh3wOE35s9Ixe7dnWRHUSPos6EEE2fTmKEKjwTofigzojU9oy58dmYzJ -> ../../dm-1 lrwxrwxrwx 1 root root 10 May 9 13:50 dm-uuid-LVM-plyNCzWRkh3wOE35s9Ixe7dnWRHUSPosIzno6rzb6q936uDv3G8wBMwgpzaKXulb -> ../../dm-2 lrwxrwxrwx 1 root root 10 May 9 13:50 lvm-pv-uuid-EDc1XG-hXBB-sZmS-tb3v-68kb-WmNQ-Ho01zK -> ../../dm-0 lrwxrwxrwx 1 root root 9 May 9 19:00 usb-Generic-_Compact_Flash_20100818841300000-0:0 -> ../../sdd lrwxrwxrwx 1 root root 9 May 9 19:00 usb-Generic-_M.S._M.S.Pro_HG_20100818841300000-0:3 -> ../../sdg lrwxrwxrwx 1 root root 9 May 9 19:00 usb-Generic-_SD_MMC_20100818841300000-0:2 -> ../../sdf lrwxrwxrwx 1 root root 9 May 9 18:59 usb-Generic-_SD_MMC_M.S.PRO_20100818841300000-0:4 -> ../../sdh lrwxrwxrwx 1 root root 9 May 9 18:59 usb-Generic-_SM_xD-Picture_20100818841300000-0:1 -> ../../sde lrwxrwxrwx 1 root root 9 May 9 13:50 usb-Udisk_Udisk_2.0_0F3CCFCFCFFADF64-0:0 -> ../../sdc lrwxrwxrwx 1 root root 10 May 9 13:50 usb-Udisk_Udisk_2.0_0F3CCFCFCFFADF64-0:0-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 10 May 9 13:50 usb-Udisk_Udisk_2.0_0F3CCFCFCFFADF64-0:0-part2 -> ../../sdc2 lrwxrwxrwx 1 root root 9 May 9 13:50 wwn-0x50014ee263440e6c -> ../../sda lrwxrwxrwx 1 root root 10 May 9 13:51 wwn-0x50014ee263440e6c-part1 -> ../../sda1 lrwxrwxrwx 1 root root 10 May 9 13:50 wwn-0x50014ee263440e6c-part2 -> ../../sda2 lrwxrwxrwx 1 root root 10 May 9 13:50 wwn-0x50014ee263440e6c-part5 -> ../../sda5 lrwxrwxrwx 1 root root 9 May 9 13:50 wwn-0x5002538d42689e7f -> ../../sdb lrwxrwxrwx 1 root root 10 May 9 13:50 wwn-0x5002538d42689e7f-part1 -> ../../sdb1 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 May 9 13:50 0BF9-0480 -> ../../sdc2 lrwxrwxrwx 1 root root 10 May 9 13:50 1408dc11-6a33-492e-b9c9-8c140f5afaaa -> ../../dm-2 lrwxrwxrwx 1 root root 10 May 9 13:50 18e2dc60-e92e-46c4-a09c-3bbc00f59f3e -> ../../dm-1 lrwxrwxrwx 1 root root 10 May 9 13:50 2019-04-11-22-34-19-00 -> ../../sdc1 lrwxrwxrwx 1 root root 10 May 9 13:50 3851807e-719f-4bf9-bb6c-e906f70c7e33 -> ../../sdb1 lrwxrwxrwx 1 root root 10 May 9 13:51 c4631e80-5591-4c37-906d-639d39b87ece -> ../../sda1 lrwxrwxrwx 1 root root 10 May 9 13:50 c49991c1-945f-4b1f-a16d-475620f35997 -> ../../sda5 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages grub-common depends on: ii gettext-base 0.19.8.1-9 ii libc6 2.28-10 ii libdevmapper1.02.1 2:1.02.155-2 ii libefiboot1 37-2 ii libefivar1 37-2 ii libfreetype6 2.9.1-3 ii libfuse2 2.9.9-1 ii liblzma5 5.2.4-1 Versions of packages grub-common recommends: ii os-prober 1.77 Versions of packages grub-common suggests: ii console-setup 1.191 ii desktop-base 10.0.2 pn grub-emu <none> pn multiboot-doc <none> ii xorriso 1.5.0-1 -- no debconf information