[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#680084: postinst script gets stuck



found 680084 1.56
thanks

Hi,

Harald Dunkel wrote (19 Jul 2012 07:42:06 GMT) :
> Looking at the grub-install: It seems that os-prober (run by
> update-grub) starts a "grub-mount" tool that keeps on running, even
> though the update-grub already did an exit. ps -ef showed me a few
> of these:

> 	grub-mount /dev/mapper/vg00-root2 /var/lib/os-prober/mount

I can see that too with os-prober installed.

  $ sudo update-grub
  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.2.0-4-amd64
  Found initrd image: /boot/initrd.img-3.2.0-4-amd64
  Found memtest86+ image: /memtest86+.bin
  Found memtest86+ multiboot image: /memtest86+_multiboot.bin
  rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
  rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
  grub-probe: error: no such disk.
  done
  $ echo $?
  0
  
I see processes such as:
"grub-mount /dev/mapper/vg1-SomeLogicalVolume /var/lib/os-prober/mount"

(Note that this LV has nothing to do with the boot process: it is not
mounted, and hosts no part of the system).

Without os-prober installed:

  Generating grub.cfg ...
  Found linux image: /boot/vmlinuz-3.2.0-4-amd64
  Found initrd image: /boot/initrd.img-3.2.0-4-amd64
  Found memtest86+ image: /memtest86+.bin
  Found memtest86+ multiboot image: /memtest86+_multiboot.bin
  done


Reply to: