[PKG-Openstack-devel] Bug#825352: fuel-umm: fails to install in chroot: /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

Andreas Beckmann anbe at debian.org
Thu May 26 10:48:39 UTC 2016

Package: fuel-umm
Version: 9.0+dfsg1-2
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts


during a test with piuparts I noticed your package failed to install in
a chrooted environment. It might work on real metal.

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package fuel-umm.
  (Reading database ... 
(Reading database ... 7804 files and directories currently installed.)
  Preparing to unpack .../fuel-umm_9.0+dfsg1-2_all.deb ...
  Unpacking fuel-umm (9.0+dfsg1-2) ...
  Setting up fuel-umm (9.0+dfsg1-2) ...
  /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
  dpkg: error processing package fuel-umm (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:

You probably need some guard around the grub-probe call.
Check the grub packages how they handle this situation.
ischroot might be helpful, too.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: fuel-umm_9.0+dfsg1-2.log.gz
Type: application/gzip
Size: 8315 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20160526/bee2eb7e/attachment-0001.bin>

More information about the Openstack-devel mailing list