Validated yakkety and zesty: $ release=yaketty $ ref=$release-proposed $ ./lxc-proposed-snapshot --proposed --publish $release $ref Creating yakkety-proposed $ lxc init $ref $name $ lxc start $name $ sleep 10 $ lxc exec $name apt install grub-legacy-ec2 $ lxc exec $name mv /etc/fstab /etc/fstab.orig $ lxc exec $name dpkg-reconfigure grub-legacy-ec2 Searching for GRUB installation directory ... found: /boot/grub Cannot determine root device. Assuming /dev/hda1 This error is probably caused by an invalid /etc/fstab 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 ... Updating /boot/grub/menu.lst ... done
$ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal $ $ lxc exec $name -- dpkg -l cloud-init ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION= VERSION="16.10 (Yakkety Yak)" $ release=zesty $ ref=$release-proposed $ ./lxc-proposed-snapshot --proposed --publish $release $ref Creating zesty-proposed $ lxc init $ref $name $ lxc start $name $ sleep 10 $ lxc exec $name apt install grub-legacy-ec2 $ lxc exec $name mv /etc/fstab /etc/fstab.orig $ lxc exec $name dpkg-reconfigure grub-legacy-ec2 Searching for GRUB installation directory ... found: /boot/grub Cannot determine root device. Assuming /dev/hda1 This error is probably caused by an invalid /etc/fstab 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 ... Updating /boot/grub/menu.lst ... done $ lxc exec $name dpkg-reconfigure grub-legacy-ec2 2>&1 | grep fatal $ $ lxc exec $name -- dpkg -l cloud-init ii cloud-init 0.7.9-113-g5 all Init scripts for cloud instances csmith@fringe:~$ lxc exec $name -- cat /etc/os-release | grep VERSION= lxc exec $name -- grep VERSION /etc/os-release VERSION="17.04 (Zesty Zapus)" ** Tags removed: verification-needed ** Tags added: verification-done-yakkety verification-done-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1682160 Title: update-grub-legacy-ec2 fails if no /etc/fstab causing install or upgrade fail To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1682160/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
