host env leaks into grub
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Medium
|
Sandhya Ganapathy |
Bug Description
When building images on a dual-boot host, I noticed that /dev/sda is leaking into the build's grub config. This is visible during the build process (pasted below) and in the resulting /boot/grub/grub.cfg file inside the image.
=======
Example output from the build:
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
df: Warning: cannot read table of mounted file systems
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
done
Changed in diskimage-builder: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in diskimage-builder: | |
assignee: | nobody → sandhya (sandhya-ganapathy) |
Changed in diskimage-builder: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/107636
Review: https:/