** Description changed: + === SRU Information === + [Impact] + update-grub-legacy-ec2 does not work correctly. Running it writes error to stderr. + + [Test Case] + Install cloud-init + run + sudo /usr/sbin/update-grub-legacy-ec2 + + [Regression Potential] + The fix for bug 1379080 just had bad shell in it. + This fixes the shell syntax. + + + === End SRU Information === + Unpacking grub-legacy-ec2 (0.7.9-19-ge987092-0ubuntu1) over (0.7.9-0ubuntu2) ... Processing triggers for ureadahead (0.100.0-19) ... Processing triggers for install-info (6.3.0.dfsg.1-1) ... Setting up grub-legacy-ec2 (0.7.9-19-ge987092-0ubuntu1) ... 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-4.9.0-15-generic Replacing config file /run/grub/menu.lst with new version /usr/sbin/update-grub-legacy-ec2: line 1406: [: missing `]' Found kernel: /boot/vmlinuz-4.9.0-15-generic Updating /boot/grub/menu.lst ... done ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: cloud-init 0.7.9-19-ge987092-0ubuntu1 ProcVersionSignature: User Name 4.9.0-15.16-generic 4.9.5 Uname: Linux 4.9.0-15-generic x86_64 ApportVersion: 2.20.4-0ubuntu1 Architecture: amd64 Date: Mon Feb 6 16:06:40 2017 Ec2AMI: ami-0000055c Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: m1.small Ec2Kernel: unavailable Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: - TERM=xterm-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662221 Title: /usr/sbin/update-grub-legacy-ec2: line 1406: [: missing `]' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1662221/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
