2017-04-12 15:09:40 |
Scott Moser |
bug |
|
|
added bug |
2017-04-12 15:25:05 |
Scott Moser |
cloud-init (Ubuntu): status |
New |
Fix Committed |
|
2017-04-12 15:25:11 |
Scott Moser |
cloud-init (Ubuntu): importance |
Undecided |
Medium |
|
2017-04-12 15:31:40 |
Scott Moser |
nominated for series |
|
Ubuntu Yakkety |
|
2017-04-12 15:31:40 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Yakkety) |
|
2017-04-12 15:31:40 |
Scott Moser |
nominated for series |
|
Ubuntu Zesty |
|
2017-04-12 15:31:40 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Zesty) |
|
2017-04-12 15:31:40 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2017-04-12 15:31:40 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Xenial) |
|
2017-04-12 15:31:49 |
Scott Moser |
cloud-init (Ubuntu Xenial): status |
New |
Confirmed |
|
2017-04-12 15:31:50 |
Scott Moser |
cloud-init (Ubuntu Yakkety): status |
New |
Confirmed |
|
2017-04-12 15:31:52 |
Scott Moser |
cloud-init (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2017-04-12 15:31:54 |
Scott Moser |
cloud-init (Ubuntu Yakkety): importance |
Undecided |
Medium |
|
2017-04-26 01:30:48 |
Launchpad Janitor |
cloud-init (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-04-28 17:09:28 |
Chad Smith |
nominated for series |
|
Ubuntu Artful |
|
2017-05-01 17:16:17 |
Chad Smith |
description |
While not common, and probably not desirable, if /etc/fstab is not present, update-grub-legacy-ec2 will fail. Thus, if you don't have an /etc/fstab, an install of a kernel package will run /etc/kernel/postinst.d/x-grub-legacy-ec2 and thus fail install.
recreate:
% sudo mv /etc/fstab /etc/fstab.orig
% sudo 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
awk: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: grub-legacy-ec2 0.7.9-90-g61eb03fe-0ubuntu1
ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
Uname: Linux 4.9.0-15-generic x86_64
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
Date: Wed Apr 12 15:05:56 2017
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=C.UTF-8
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install) |
=== Begin SRU Template ===
[Impact]
update-grub-legacy-ec2 fails on system with missing /etc/fstab with error message:
Cannot determine root device. Assuming /dev/hda1
This error is probably caused by an invalid /etc/fstab
awk: fatal: cannot open file `/etc/fstab' for reading (No such file or directory)
[Test Case]
Mimic missing /etc/fstab config using lxc-proposed-snapshot from
https://git.launchpad.net/~smoser/cloud-init/+git/sru-info/tree/bin/lxc-proposed-snapshot
It publishes an image to lxd with proposed enabled and cloud-init upgraded.
$ name=proposed-test
$ for release in xenial yakkety zesty; do
$ ref=$release-proposed
$ lxc-proposed-snapshot --proposed --publish $release $ref
$ 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
# Ensure error message does not exist "This error is probably caused by an invalid /etc/fstab"
[Regression Potential]
Low. oneliner in a script
[Other Info]
Upstream commit:
https://git.launchpad.net/cloud-init/commit/?id=fd9f36267541
=== End SRU Template === |
|
2017-05-05 14:30:37 |
Scott Moser |
bug task added |
|
cloud-init (Ubuntu Artful) |
|
2017-05-08 19:05:13 |
Steve Langasek |
cloud-init (Ubuntu Xenial): status |
Confirmed |
Fix Committed |
|
2017-05-08 19:05:17 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-05-08 19:05:22 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2017-05-08 19:05:26 |
Steve Langasek |
tags |
amd64 apport-bug uec-images zesty |
amd64 apport-bug uec-images verification-needed zesty |
|
2017-05-10 19:09:23 |
Chad Smith |
tags |
amd64 apport-bug uec-images verification-needed zesty |
amd64 apport-bug uec-images verification-done-xenial verification-needed zesty |
|
2017-05-11 20:30:24 |
Steve Langasek |
cloud-init (Ubuntu Yakkety): status |
Confirmed |
Fix Committed |
|
2017-05-11 21:49:43 |
Chad Smith |
tags |
amd64 apport-bug uec-images verification-done-xenial verification-needed zesty |
amd64 apport-bug uec-images verification-done-xenial verification-done-yakkety verification-done-zesty zesty |
|
2017-05-17 02:58:17 |
Launchpad Janitor |
cloud-init (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-05-17 02:58:59 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2017-05-17 03:07:38 |
Launchpad Janitor |
cloud-init (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2017-05-17 03:14:07 |
Launchpad Janitor |
cloud-init (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|